-------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\Travis\Dropbox\WMP2020Survey\Advertising Experiment\submission.2024 (R&P)\R&P_Second submission\ad_experiment_output.log
  log type:  text
 opened on:  30 May 2024, 21:41:20

. 
. 
. ************Creation of Figure 1
. 
. clear

. use ad_experiment.dta

. keep Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1 Q9_17_treatment

. gen dvvalue=Q17_a1
(1 missing value generated)

. gen dv=1

. save output1.dta, replace
file output1.dta saved

. 
. clear

. use ad_experiment.dta

. keep Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1 Q9_17_treatment

. gen dvvalue=Q17_b1

. gen dv=2

. save output2.dta, replace
file output2.dta saved

. 
. clear

. use ad_experiment.dta

. keep Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1 Q9_17_treatment

. gen dvvalue=Q17_c1

. gen dv=3

. save output3.dta, replace
file output3.dta saved

. 
. clear

. use ad_experiment.dta

. keep Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1 Q9_17_treatment

. gen dvvalue=Q17_d1

. gen dv=4

. save output4.dta, replace
file output4.dta saved

. 
. clear

. use ad_experiment.dta

. keep Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1 Q9_17_treatment

. gen dvvalue=Q17_e1

. gen dv=5

. save output5.dta, replace
file output5.dta saved

. 
. clear

. use ad_experiment.dta

. keep Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1 Q9_17_treatment

. gen dvvalue=Q17_f1
(1 missing value generated)

. gen dv=6

. save output6.dta, replace
file output6.dta saved

. 
. clear

. use ad_experiment.dta

. keep Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1 Q9_17_treatment

. gen dvvalue=Q17_g1
(1 missing value generated)

. gen dv=7

. save output7.dta, replace
file output7.dta saved

. 
. clear

. use ad_experiment.dta

. keep Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1 Q9_17_treatment

. gen dvvalue=Q17_h1
(1 missing value generated)

. gen dv=8

. save output8.dta, replace
file output8.dta saved

. 
. clear

. use ad_experiment.dta

. keep Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1 Q9_17_treatment

. gen dvvalue=Q17_i1

. gen dv=9

. save output9.dta, replace
file output9.dta saved

. 
. clear

. use ad_experiment.dta

. keep Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1 Q9_17_treatment

. gen dvvalue=Q17_j1

. gen dv=10

. save output10.dta, replace
file output10.dta saved

. 
. clear

. use ad_experiment.dta

. keep Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1 Q9_17_treatment

. gen dvvalue=Q17_j1

. gen dv=10

. save output10.dta, replace
file output10.dta saved

. 
. use output1.dta

. append using output2.dta
(label Q9_17_treatment already defined)

. append using output3.dta
(label Q9_17_treatment already defined)

. append using output4.dta
(label Q9_17_treatment already defined)

. append using output5.dta
(label Q9_17_treatment already defined)

. append using output6.dta
(label Q9_17_treatment already defined)

. append using output7.dta
(label Q9_17_treatment already defined)

. append using output8.dta
(label Q9_17_treatment already defined)

. append using output9.dta
(label Q9_17_treatment already defined)

. append using output10.dta
(label Q9_17_treatment already defined)

. 
. label define type1 1 "Political Ads" 2 "Online Ads" 3 "TV Ads"

. label values Q9_17_treatment type1

. 
. label define type2 1 "Annoying" 2 "Misleading" 3 "Entertaining" 4 "Helpful" 5 "Too Negative" 6 "Vital"  7 "Regulate" 8 "Ban" 9 "Uncivil" 10 "Too Many"

. label values dv type2

. 
. set scheme s1mono

. graph bar dvvalue, over(dv, label(angle(45))) ytitle("") ytitle("Agreement")

. 
. 
. ************difference by treatment on each dv--Table C1
. 
. clear

. 
. use ad_experiment.dta

. 
. 
. ***difference between online and generic treatments
. ttest Q17_a1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.900249    .0726249    1.454313    5.757475    6.043024
       1 |     398    5.683417    .0748871    1.493993    5.536192    5.830642
---------+--------------------------------------------------------------------
Combined |     799     5.79224    .0522623    1.477276    5.689653    5.894828
---------+--------------------------------------------------------------------
    diff |            .2168323    .1043085                .0120805    .4215841
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.0788
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9810         Pr(|T| > |t|) = 0.0380          Pr(T > t) = 0.0190

. ttest Q17_b1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.992519    .0667643    1.336953    5.861266    6.123771
       1 |     399    5.736842    .0739902    1.477952    5.591382    5.882302
---------+--------------------------------------------------------------------
Combined |     800       5.865    .0499909    1.413957    5.766871    5.963129
---------+--------------------------------------------------------------------
    diff |            .2556766    .0996345                .0600999    .4512533
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.5661
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9948         Pr(|T| > |t|) = 0.0105          Pr(T > t) = 0.0052

. ttest Q17_c1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    2.895262    .0896655    1.795551    2.718987    3.071536
       1 |     399    2.909774    .0881069    1.759934    2.736561    3.082987
---------+--------------------------------------------------------------------
Combined |     800      2.9025    .0628186    1.776778    2.779191    3.025809
---------+--------------------------------------------------------------------
    diff |           -.0145126    .1257152               -.2612842     .232259
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.1154
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.4541         Pr(|T| > |t|) = 0.9081          Pr(T > t) = 0.5459

. ttest Q17_d1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    2.855362    .0873413    1.749008    2.683656    3.027067
       1 |     399    2.967419    .0876707    1.751221    2.795063    3.139774
---------+--------------------------------------------------------------------
Combined |     800     2.91125    .0618688    1.749915    2.789805    3.032695
---------+--------------------------------------------------------------------
    diff |            -.112057     .123752               -.3549748    .1308609
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.9055
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1827         Pr(|T| > |t|) = 0.3655          Pr(T > t) = 0.8173

. ttest Q17_e1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.433915    .0749272    1.500416    5.286615    5.581215
       1 |     399    5.235589    .0728964    1.456104    5.092279    5.378899
---------+--------------------------------------------------------------------
Combined |     800       5.335    .0523571    1.480884    5.232226    5.437774
---------+--------------------------------------------------------------------
    diff |            .1983262    .1045447               -.0068889    .4035414
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.8970
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9709         Pr(|T| > |t|) = 0.0582          Pr(T > t) = 0.0291

. ttest Q17_f1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    3.870324     .091716    1.836612    3.690019     4.05063
       1 |     399    4.112782    .0860522    1.718891    3.943608    4.281956
---------+--------------------------------------------------------------------
Combined |     800     3.99125    .0629994    1.781893    3.867586    4.114914
---------+--------------------------------------------------------------------
    diff |           -.2424578    .1257857               -.4893677    .0044521
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.9275
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0271         Pr(|T| > |t|) = 0.0543          Pr(T > t) = 0.9729

. ttest Q17_g1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     400      4.8375    .0977324    1.954647    4.645365    5.029635
       1 |     399     4.66416    .0992725    1.982966    4.468996    4.859324
---------+--------------------------------------------------------------------
Combined |     799    4.750939    .0696765    1.969516    4.614168    4.887709
---------+--------------------------------------------------------------------
    diff |            .1733396    .1393052               -.1001088     .446788
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.2443
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8931         Pr(|T| > |t|) = 0.2137          Pr(T > t) = 0.1069

. ttest Q17_h1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    4.249377    .0972522    1.947474    4.058187    4.440566
       1 |     398    4.052764    .0961222    1.917631    3.863792    4.241736
---------+--------------------------------------------------------------------
Combined |     799    4.151439    .0684185    1.933958    4.017138    4.285741
---------+--------------------------------------------------------------------
    diff |            .1966127    .1367466               -.0718133    .4650388
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.4378
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9246         Pr(|T| > |t|) = 0.1509          Pr(T > t) = 0.0754

. ttest Q17_i1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.117207    .0750516    1.502907    4.969662    5.264752
       1 |     399    4.809524     .077732    1.552696    4.656707     4.96234
---------+--------------------------------------------------------------------
Combined |     800     4.96375    .0542607    1.534725     4.85724     5.07026
---------+--------------------------------------------------------------------
    diff |            .3076832    .1080421                .0956028    .5197635
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.8478
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9977         Pr(|T| > |t|) = 0.0045          Pr(T > t) = 0.0023

. ttest Q17_j1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.900249    .0711506    1.424789    5.760374    6.040125
       1 |     399     5.52381    .0793357    1.584729     5.36784    5.679779
---------+--------------------------------------------------------------------
Combined |     800      5.7125    .0536507    1.517472    5.607187    5.817813
---------+--------------------------------------------------------------------
    diff |            .3764399    .1065389                .1673103    .5855694
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   3.5334
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9998         Pr(|T| > |t|) = 0.0004          Pr(T > t) = 0.0002

. ttest DVindex1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     400     5.18225    .0520978    1.041957    5.079829    5.284671
       1 |     398    4.974372    .0506654    1.010771    4.874766    5.073978
---------+--------------------------------------------------------------------
Combined |     798    5.078571    .0365018    1.031136     5.00692    5.150222
---------+--------------------------------------------------------------------
    diff |            .2078781    .0726772                .0652166    .3505397
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.8603
H0: diff = 0                                     Degrees of freedom =      796

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9978         Pr(|T| > |t|) = 0.0043          Pr(T > t) = 0.0022

. 
. ttest Q17_a1 if treat_online==1 | treat_generic==1, by(treat_online), 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.900249    .0726249    1.454313    5.757475    6.043024
       1 |     398    5.683417    .0748871    1.493993    5.536192    5.830642
---------+--------------------------------------------------------------------
Combined |     799     5.79224    .0522623    1.477276    5.689653    5.894828
---------+--------------------------------------------------------------------
    diff |            .2168323    .1043085                .0120805    .4215841
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.0788
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9810         Pr(|T| > |t|) = 0.0380          Pr(T > t) = 0.0190

. ttest Q17_a1 if treat_online==1 | treat_generic==1, by(treat_online), 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.900249    .0726249    1.454313    5.757475    6.043024
       1 |     398    5.683417    .0748871    1.493993    5.536192    5.830642
---------+--------------------------------------------------------------------
Combined |     799     5.79224    .0522623    1.477276    5.689653    5.894828
---------+--------------------------------------------------------------------
    diff |            .2168323    .1043085                .0120805    .4215841
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.0788
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9810         Pr(|T| > |t|) = 0.0380          Pr(T > t) = 0.0190

. ttest Q17_b1 if treat_online==1 | treat_generic==1, by(treat_online), 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.992519    .0667643    1.336953    5.861266    6.123771
       1 |     399    5.736842    .0739902    1.477952    5.591382    5.882302
---------+--------------------------------------------------------------------
Combined |     800       5.865    .0499909    1.413957    5.766871    5.963129
---------+--------------------------------------------------------------------
    diff |            .2556766    .0996345                .0600999    .4512533
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.5661
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9948         Pr(|T| > |t|) = 0.0105          Pr(T > t) = 0.0052

. ttest Q17_c1 if treat_online==1 | treat_generic==1, by(treat_online), 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    2.895262    .0896655    1.795551    2.718987    3.071536
       1 |     399    2.909774    .0881069    1.759934    2.736561    3.082987
---------+--------------------------------------------------------------------
Combined |     800      2.9025    .0628186    1.776778    2.779191    3.025809
---------+--------------------------------------------------------------------
    diff |           -.0145126    .1257152               -.2612842     .232259
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.1154
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.4541         Pr(|T| > |t|) = 0.9081          Pr(T > t) = 0.5459

. ttest Q17_d1 if treat_online==1 | treat_generic==1, by(treat_online), 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    2.855362    .0873413    1.749008    2.683656    3.027067
       1 |     399    2.967419    .0876707    1.751221    2.795063    3.139774
---------+--------------------------------------------------------------------
Combined |     800     2.91125    .0618688    1.749915    2.789805    3.032695
---------+--------------------------------------------------------------------
    diff |            -.112057     .123752               -.3549748    .1308609
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.9055
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1827         Pr(|T| > |t|) = 0.3655          Pr(T > t) = 0.8173

. ttest Q17_e1 if treat_online==1 | treat_generic==1, by(treat_online), 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.433915    .0749272    1.500416    5.286615    5.581215
       1 |     399    5.235589    .0728964    1.456104    5.092279    5.378899
---------+--------------------------------------------------------------------
Combined |     800       5.335    .0523571    1.480884    5.232226    5.437774
---------+--------------------------------------------------------------------
    diff |            .1983262    .1045447               -.0068889    .4035414
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.8970
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9709         Pr(|T| > |t|) = 0.0582          Pr(T > t) = 0.0291

. ttest Q17_f1 if treat_online==1 | treat_generic==1, by(treat_online), 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    3.870324     .091716    1.836612    3.690019     4.05063
       1 |     399    4.112782    .0860522    1.718891    3.943608    4.281956
---------+--------------------------------------------------------------------
Combined |     800     3.99125    .0629994    1.781893    3.867586    4.114914
---------+--------------------------------------------------------------------
    diff |           -.2424578    .1257857               -.4893677    .0044521
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.9275
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0271         Pr(|T| > |t|) = 0.0543          Pr(T > t) = 0.9729

. ttest Q17_g1 if treat_online==1 | treat_generic==1, by(treat_online), 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     400      4.8375    .0977324    1.954647    4.645365    5.029635
       1 |     399     4.66416    .0992725    1.982966    4.468996    4.859324
---------+--------------------------------------------------------------------
Combined |     799    4.750939    .0696765    1.969516    4.614168    4.887709
---------+--------------------------------------------------------------------
    diff |            .1733396    .1393052               -.1001088     .446788
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.2443
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8931         Pr(|T| > |t|) = 0.2137          Pr(T > t) = 0.1069

. ttest Q17_h1 if treat_online==1 | treat_generic==1, by(treat_online), 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    4.249377    .0972522    1.947474    4.058187    4.440566
       1 |     398    4.052764    .0961222    1.917631    3.863792    4.241736
---------+--------------------------------------------------------------------
Combined |     799    4.151439    .0684185    1.933958    4.017138    4.285741
---------+--------------------------------------------------------------------
    diff |            .1966127    .1367466               -.0718133    .4650388
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.4378
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9246         Pr(|T| > |t|) = 0.1509          Pr(T > t) = 0.0754

. ttest Q17_i1 if treat_online==1 | treat_generic==1, by(treat_online), 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.117207    .0750516    1.502907    4.969662    5.264752
       1 |     399    4.809524     .077732    1.552696    4.656707     4.96234
---------+--------------------------------------------------------------------
Combined |     800     4.96375    .0542607    1.534725     4.85724     5.07026
---------+--------------------------------------------------------------------
    diff |            .3076832    .1080421                .0956028    .5197635
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.8478
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9977         Pr(|T| > |t|) = 0.0045          Pr(T > t) = 0.0023

. ttest Q17_j1 if treat_online==1 | treat_generic==1, by(treat_online), 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.900249    .0711506    1.424789    5.760374    6.040125
       1 |     399     5.52381    .0793357    1.584729     5.36784    5.679779
---------+--------------------------------------------------------------------
Combined |     800      5.7125    .0536507    1.517472    5.607187    5.817813
---------+--------------------------------------------------------------------
    diff |            .3764399    .1065389                .1673103    .5855694
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   3.5334
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9998         Pr(|T| > |t|) = 0.0004          Pr(T > t) = 0.0002

. ttest DVindex1 if treat_online==1 | treat_generic==1, by(treat_online)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     400     5.18225    .0520978    1.041957    5.079829    5.284671
       1 |     398    4.974372    .0506654    1.010771    4.874766    5.073978
---------+--------------------------------------------------------------------
Combined |     798    5.078571    .0365018    1.031136     5.00692    5.150222
---------+--------------------------------------------------------------------
    diff |            .2078781    .0726772                .0652166    .3505397
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.8603
H0: diff = 0                                     Degrees of freedom =      796

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9978         Pr(|T| > |t|) = 0.0043          Pr(T > t) = 0.0022

. 
. ttest Q17_a1 if treat_online==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     398    5.683417    .0748871    1.493993    5.536192    5.830642
       1 |     400      5.9175    .0712526    1.425051    5.777423    6.057577
---------+--------------------------------------------------------------------
Combined |     798    5.800752    .0518116     1.46362    5.699049    5.902455
---------+--------------------------------------------------------------------
    diff |           -.2340829    .1033561               -.4369656   -.0312003
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.2648
H0: diff = 0                                     Degrees of freedom =      796

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0119         Pr(|T| > |t|) = 0.0238          Pr(T > t) = 0.9881

. ttest Q17_b1 if treat_online==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     399    5.736842    .0739902    1.477952    5.591382    5.882302
       1 |     400       5.945    .0640523    1.281046    5.819078    6.070922
---------+--------------------------------------------------------------------
Combined |     799    5.841051    .0490309    1.385936    5.744807    5.937296
---------+--------------------------------------------------------------------
    diff |           -.2081579    .0978459               -.4002241   -.0160917
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.1274
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0168         Pr(|T| > |t|) = 0.0337          Pr(T > t) = 0.9832

. ttest Q17_c1 if treat_online==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     399    2.909774    .0881069    1.759934    2.736561    3.082987
       1 |     400       2.835    .0942292    1.884583    2.649752    3.020248
---------+--------------------------------------------------------------------
Combined |     799     2.87234    .0644805    1.822643    2.745769    2.998912
---------+--------------------------------------------------------------------
    diff |            .0747744    .1290148               -.1784744    .3280233
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.5796
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7188         Pr(|T| > |t|) = 0.5624          Pr(T > t) = 0.2812

. ttest Q17_d1 if treat_online==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     399    2.967419    .0876707    1.751221    2.795063    3.139774
       1 |     400       2.795    .0911906    1.823812    2.615726    2.974274
---------+--------------------------------------------------------------------
Combined |     799    2.881101    .0632864    1.788891    2.756874    3.005329
---------+--------------------------------------------------------------------
    diff |            .1724185     .126505               -.0759037    .4207408
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.3629
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9134         Pr(|T| > |t|) = 0.1733          Pr(T > t) = 0.0866

. ttest Q17_e1 if treat_online==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     399    5.235589    .0728964    1.456104    5.092279    5.378899
       1 |     400        5.31    .0757403    1.514806      5.1611      5.4589
---------+--------------------------------------------------------------------
Combined |     799    5.272841    .0525467    1.485317    5.169695    5.375987
---------+--------------------------------------------------------------------
    diff |            -.074411    .1051264               -.2807684    .1319464
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.7078
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.2396         Pr(|T| > |t|) = 0.4793          Pr(T > t) = 0.7604

. ttest Q17_f1 if treat_online==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     399    4.112782    .0860522    1.718891    3.943608    4.281956
       1 |     399    3.962406    .0933028    1.863721    3.778978    4.145834
---------+--------------------------------------------------------------------
Combined |     798    4.037594    .0634794    1.793223    3.912987    4.162201
---------+--------------------------------------------------------------------
    diff |            .1503759    .1269267               -.0987746    .3995265
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.1847
H0: diff = 0                                     Degrees of freedom =      796

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8818         Pr(|T| > |t|) = 0.2365          Pr(T > t) = 0.1182

. ttest Q17_g1 if treat_online==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     399     4.66416    .0992725    1.982966    4.468996    4.859324
       1 |     400      4.6375    .0966363    1.932727     4.44752     4.82748
---------+--------------------------------------------------------------------
Combined |     799    4.650814    .0692264    1.956794    4.514926    4.786701
---------+--------------------------------------------------------------------
    diff |            .0266604    .1385365               -.2452792       .2986
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.1924
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5763         Pr(|T| > |t|) = 0.8474          Pr(T > t) = 0.4237

. ttest Q17_h1 if treat_online==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     398    4.052764    .0961222    1.917631    3.863792    4.241736
       1 |     400      4.1225    .0958734    1.917469     3.93402     4.31098
---------+--------------------------------------------------------------------
Combined |     798    4.087719    .0678492    1.916664    3.954535    4.220903
---------+--------------------------------------------------------------------
    diff |           -.0697362    .1357615                -.336229    .1967566
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.5137
H0: diff = 0                                     Degrees of freedom =      796

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3038         Pr(|T| > |t|) = 0.6076          Pr(T > t) = 0.6962

. ttest Q17_i1 if treat_online==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     399    4.809524     .077732    1.552696    4.656707     4.96234
       1 |     400      5.0425    .0774062    1.548123    4.890325    5.194675
---------+--------------------------------------------------------------------
Combined |     799    4.926158      .05497    1.553815    4.818255    5.034061
---------+--------------------------------------------------------------------
    diff |           -.2329762    .1096991               -.4483095   -.0176429
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.1238
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0170         Pr(|T| > |t|) = 0.0340          Pr(T > t) = 0.9830

. ttest Q17_j1 if treat_online==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     399     5.52381    .0793357    1.584729     5.36784    5.679779
       1 |     400       5.785    .0726128    1.452256    5.642249    5.927751
---------+--------------------------------------------------------------------
Combined |     799    5.654568    .0539334    1.524512      5.5487    5.760436
---------+--------------------------------------------------------------------
    diff |           -.2611905    .1075372               -.4722801   -.0501009
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.4288
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0077         Pr(|T| > |t|) = 0.0154          Pr(T > t) = 0.9923

. ttest DVindex1 if treat_online==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     398    4.974372    .0506654    1.010771    4.874766    5.073978
       1 |     399    5.118045    .0504267    1.007273    5.018909    5.217181
---------+--------------------------------------------------------------------
Combined |     797    5.046299    .0358095    1.010946    4.976006    5.116591
---------+--------------------------------------------------------------------
    diff |           -.1436732    .0714828               -.2839906   -.0033559
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.0099
H0: diff = 0                                     Degrees of freedom =      795

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0224         Pr(|T| > |t|) = 0.0448          Pr(T > t) = 0.9776

. 
. ttest Q17_a1 if treat_generic==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.900249    .0726249    1.454313    5.757475    6.043024
       1 |     400      5.9175    .0712526    1.425051    5.777423    6.057577
---------+--------------------------------------------------------------------
Combined |     801    5.908864     .050841      1.4389    5.809066    6.008662
---------+--------------------------------------------------------------------
    diff |           -.0172506    .1017439               -.2169676    .1824664
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.1695
H0: diff = 0                                     Degrees of freedom =      799

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.4327         Pr(|T| > |t|) = 0.8654          Pr(T > t) = 0.5673

. ttest Q17_b1 if treat_generic==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.992519    .0667643    1.336953    5.861266    6.123771
       1 |     400       5.945    .0640523    1.281046    5.819078    6.070922
---------+--------------------------------------------------------------------
Combined |     801    5.968789    .0462417     1.30873     5.87802    6.059558
---------+--------------------------------------------------------------------
    diff |            .0475187    .0925261               -.1341042    .2291416
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.5136
H0: diff = 0                                     Degrees of freedom =      799

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6962         Pr(|T| > |t|) = 0.6077          Pr(T > t) = 0.3038

. ttest Q17_c1 if treat_generic==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    2.895262    .0896655    1.795551    2.718987    3.071536
       1 |     400       2.835    .0942292    1.884583    2.649752    3.020248
---------+--------------------------------------------------------------------
Combined |     801    2.865169    .0650007    1.839646    2.737576    2.992761
---------+--------------------------------------------------------------------
    diff |            .0602618    .1300654               -.1950483     .315572
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.4633
H0: diff = 0                                     Degrees of freedom =      799

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6784         Pr(|T| > |t|) = 0.6433          Pr(T > t) = 0.3216

. ttest Q17_d1 if treat_generic==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    2.855362    .0873413    1.749008    2.683656    3.027067
       1 |     400       2.795    .0911906    1.823812    2.615726    2.974274
---------+--------------------------------------------------------------------
Combined |     801    2.825218    .0631014    1.785893    2.701355    2.949082
---------+--------------------------------------------------------------------
    diff |            .0603616    .1262638               -.1874864    .3082096
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.4781
H0: diff = 0                                     Degrees of freedom =      799

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6836         Pr(|T| > |t|) = 0.6327          Pr(T > t) = 0.3164

. ttest Q17_e1 if treat_generic==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.433915    .0749272    1.500416    5.286615    5.581215
       1 |     400        5.31    .0757403    1.514806      5.1611      5.4589
---------+--------------------------------------------------------------------
Combined |     801    5.372035    .0532808    1.507951    5.267448    5.476622
---------+--------------------------------------------------------------------
    diff |            .1239152    .1065383               -.0852127    .3330432
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.1631
H0: diff = 0                                     Degrees of freedom =      799

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8774         Pr(|T| > |t|) = 0.2451          Pr(T > t) = 0.1226

. ttest Q17_f1 if treat_generic==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    3.870324     .091716    1.836612    3.690019     4.05063
       1 |     399    3.962406    .0933028    1.863721    3.778978    4.145834
---------+--------------------------------------------------------------------
Combined |     800     3.91625    .0653932    1.849598    3.787887    4.044613
---------+--------------------------------------------------------------------
    diff |           -.0920818     .130828               -.3488896    .1647259
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.7038
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.2409         Pr(|T| > |t|) = 0.4817          Pr(T > t) = 0.7591

. ttest Q17_g1 if treat_generic==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     400      4.8375    .0977324    1.954647    4.645365    5.029635
       1 |     400      4.6375    .0966363    1.932727     4.44752     4.82748
---------+--------------------------------------------------------------------
Combined |     800      4.7375    .0687688    1.945077    4.602511    4.872489
---------+--------------------------------------------------------------------
    diff |                  .2    .1374416               -.0697898    .4697898
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.4552
H0: diff = 0                                     Degrees of freedom =      798

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9270         Pr(|T| > |t|) = 0.1460          Pr(T > t) = 0.0730

. ttest Q17_h1 if treat_generic==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    4.249377    .0972522    1.947474    4.058187    4.440566
       1 |     400      4.1225    .0958734    1.917469     3.93402     4.31098
---------+--------------------------------------------------------------------
Combined |     801    4.186017    .0682774    1.932383    4.051993    4.320041
---------+--------------------------------------------------------------------
    diff |            .1268766    .1365666               -.1411951    .3949482
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.9290
H0: diff = 0                                     Degrees of freedom =      799

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8234         Pr(|T| > |t|) = 0.3531          Pr(T > t) = 0.1766

. ttest Q17_i1 if treat_generic==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.117207    .0750516    1.502907    4.969662    5.264752
       1 |     400      5.0425    .0774062    1.548123    4.890325    5.194675
---------+--------------------------------------------------------------------
Combined |     801      5.0799    .0538888    1.525158     4.97412     5.18568
---------+--------------------------------------------------------------------
    diff |             .074707    .1078128               -.1369227    .2863367
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.6929
H0: diff = 0                                     Degrees of freedom =      799

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7557         Pr(|T| > |t|) = 0.4886          Pr(T > t) = 0.2443

. ttest Q17_j1 if treat_generic==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     401    5.900249    .0711506    1.424789    5.760374    6.040125
       1 |     400       5.785    .0726128    1.452256    5.642249    5.927751
---------+--------------------------------------------------------------------
Combined |     801    5.842697    .0508385    1.438828    5.742904    5.942489
---------+--------------------------------------------------------------------
    diff |            .1152494    .1016589               -.0843007    .3147994
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.1337
H0: diff = 0                                     Degrees of freedom =      799

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8714         Pr(|T| > |t|) = 0.2573          Pr(T > t) = 0.1286

. ttest DVindex1 if treat_generic==1 | treat_tv==1, by(treat_tv)

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     400     5.18225    .0520978    1.041957    5.079829    5.284671
       1 |     399    5.118045    .0504267    1.007273    5.018909    5.217181
---------+--------------------------------------------------------------------
Combined |     799    5.150188    .0362493    1.024645    5.079032    5.221343
---------+--------------------------------------------------------------------
    diff |            .0642049    .0725085               -.0781253    .2065351
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.8855
H0: diff = 0                                     Degrees of freedom =      797

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8119         Pr(|T| > |t|) = 0.3762          Pr(T > t) = 0.1881

. 
. ***Figure 2--data from this output put into separate file called figure-data-overall.dta
. 
. clear

. use figure-data-overall.dta

. 
. twoway bar diff1 question if online_tv==1 || rcap hi1 low1 question if online_tv==1, legend(off) xtitle("") ytitle("Difference between TV and Online Ads") xlabel
> (,angle(45)) xlabel(1 "Annoying" 2 "Misleading" 3 "Entertaining" 4 "Helpful" 5 "Too Negative" 6 "Vital" 7 "Regulate" 8 "Ban" 9 "Uncivil" 10 "Too Many" 11 "Index"
> ) yline(0) 

. 
. *****Age analysis**************************************************
. 
. clear

. use ad_experiment.dta

. 
. ****compare young and old on views of online ads--Table C2--data from this output put into separate fille called age-figure.dta.dta
. 
. ***online
. 
. ttest Q17_a1 if treat_online==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     155    5.845161    .1136447    1.414865    5.620658    6.069665
       1 |     156    5.647436    .1167539    1.458256    5.416802     5.87807
---------+--------------------------------------------------------------------
Combined |     311    5.745981    .0815352    1.437889    5.585548    5.906413
---------+--------------------------------------------------------------------
    diff |            .1977254    .1629471               -.1229009    .5183517
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.2134
H0: diff = 0                                     Degrees of freedom =      309

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8871         Pr(|T| > |t|) = 0.2259          Pr(T > t) = 0.1129

. ttest Q17_b1 if treat_online==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     155    5.954839    .1159077    1.443039    5.725864    6.183813
       1 |     156    5.576923    .1136064    1.418943    5.352507     5.80134
---------+--------------------------------------------------------------------
Combined |     311    5.765273    .0817215    1.441174    5.604474    5.926072
---------+--------------------------------------------------------------------
    diff |            .3779156    .1622903                .0585817    .6972495
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.3286
H0: diff = 0                                     Degrees of freedom =      309

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9897         Pr(|T| > |t|) = 0.0205          Pr(T > t) = 0.0103

. ttest Q17_c1 if treat_online==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     155    2.606452    .1292876    1.609617    2.351046    2.861858
       1 |     156    3.211538    .1452329    1.813959    2.924647     3.49843
---------+--------------------------------------------------------------------
Combined |     311    2.909968    .0986097    1.739001    2.715939    3.103997
---------+--------------------------------------------------------------------
    diff |           -.6050868    .1945171               -.9878325   -.2223412
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -3.1107
H0: diff = 0                                     Degrees of freedom =      309

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0010         Pr(|T| > |t|) = 0.0020          Pr(T > t) = 0.9990

. ttest Q17_d1 if treat_online==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     155    2.593548    .1264039    1.573716    2.343839    2.843258
       1 |     156     3.25641    .1434745    1.791996    2.972993    3.539828
---------+--------------------------------------------------------------------
Combined |     311    2.926045    .0973297    1.716428    2.734535    3.117555
---------+--------------------------------------------------------------------
    diff |           -.6628619    .1912939               -1.039265   -.2864584
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -3.4651
H0: diff = 0                                     Degrees of freedom =      309

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0003         Pr(|T| > |t|) = 0.0006          Pr(T > t) = 0.9997

. ttest Q17_e1 if treat_online==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     155    5.625806    .1036204    1.290064    5.421106    5.830507
       1 |     156    4.891026      .12255    1.530649    4.648942    5.133109
---------+--------------------------------------------------------------------
Combined |     311    5.257235    .0828282    1.460691    5.094258    5.420211
---------+--------------------------------------------------------------------
    diff |            .7347808    .1605735                 .418825    1.050737
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   4.5760
H0: diff = 0                                     Degrees of freedom =      309

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 0.0000

. ttest Q17_f1 if treat_online==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     155    3.967742    .1445619    1.799781    3.682162    4.253322
       1 |     156    4.198718    .1245073    1.555095    3.952768    4.444668
---------+--------------------------------------------------------------------
Combined |     311    4.083601    .0954208    1.682765    3.895847    4.271356
---------+--------------------------------------------------------------------
    diff |            -.230976    .1906991               -.6062091     .144257
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.2112
H0: diff = 0                                     Degrees of freedom =      309

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1134         Pr(|T| > |t|) = 0.2267          Pr(T > t) = 0.8866

. ttest Q17_g1 if treat_online==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     155     4.56129    .1751375    2.180444    4.215308    4.907272
       1 |     156    4.730769    .1511867    1.888321    4.432117    5.029421
---------+--------------------------------------------------------------------
Combined |     311    4.646302    .1155431    2.037625    4.418954     4.87365
---------+--------------------------------------------------------------------
    diff |           -.1694789    .2312601               -.6245227    .2855649
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.7328
H0: diff = 0                                     Degrees of freedom =      309

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.2321         Pr(|T| > |t|) = 0.4642          Pr(T > t) = 0.7679

. ttest Q17_h1 if treat_online==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     155     4.16129    .1661521    2.068577    3.833059    4.489522
       1 |     156    3.980769    .1456485     1.81915    3.693057    4.268481
---------+--------------------------------------------------------------------
Combined |     311     4.07074     .110371    1.946414    3.853568    4.287911
---------+--------------------------------------------------------------------
    diff |            .1805211    .2208615               -.2540616    .6151038
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.8173
H0: diff = 0                                     Degrees of freedom =      309

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7928         Pr(|T| > |t|) = 0.4144          Pr(T > t) = 0.2072

. ttest Q17_i1 if treat_online==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     155    5.167742    .1167997    1.454145    4.937005    5.398478
       1 |     156    4.487179    .1238636    1.547056    4.242501    4.731858
---------+--------------------------------------------------------------------
Combined |     311    4.826367    .0871725    1.537304    4.654842    4.997891
---------+--------------------------------------------------------------------
    diff |            .6805624     .170282                .3455036    1.015621
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   3.9967
H0: diff = 0                                     Degrees of freedom =      309

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0001          Pr(T > t) = 0.0000

. ttest Q17_j1 if treat_online==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     155    5.729032    .1215421    1.513187    5.488927    5.969137
       1 |     156     5.24359    .1337788    1.670896    4.979325    5.507855
---------+--------------------------------------------------------------------
Combined |     311    5.485531    .0913023    1.610134     5.30588    5.665181
---------+--------------------------------------------------------------------
    diff |            .4854425     .180804                .1296798    .8412053
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.6849
H0: diff = 0                                     Degrees of freedom =      309

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9962         Pr(|T| > |t|) = 0.0076          Pr(T > t) = 0.0038

. ttest DVindex1 if treat_online==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     155    5.187742    .0834596    1.039064    5.022868    5.352615
       1 |     156    4.789103    .0750879    .9378475    4.640775     4.93743
---------+--------------------------------------------------------------------
Combined |     311    4.987781    .0571561    1.007958    4.875318    5.100244
---------+--------------------------------------------------------------------
    diff |            .3986394    .1122292                .1778092    .6194696
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   3.5520
H0: diff = 0                                     Degrees of freedom =      309

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9998         Pr(|T| > |t|) = 0.0004          Pr(T > t) = 0.0002

. 
. ***TV
. 
. ttest Q17_a1 if treat_tv==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.146341    .1031611    1.321107    5.942637    6.350046
       1 |     154    5.545455    .1236388    1.534317    5.301195    5.789714
---------+--------------------------------------------------------------------
Combined |     318    5.855346     .081729    1.457436    5.694546    6.016146
---------+--------------------------------------------------------------------
    diff |            .6008869    .1602715                .2855528     .916221
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   3.7492
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9999         Pr(|T| > |t|) = 0.0002          Pr(T > t) = 0.0001

. ttest Q17_b1 if treat_tv==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.219512    .0915594    1.172532    6.038717    6.400308
       1 |     154    5.532468    .1086876    1.348777    5.317745     5.74719
---------+--------------------------------------------------------------------
Combined |     318    5.886792    .0731852    1.305079    5.742802    6.030783
---------+--------------------------------------------------------------------
    diff |            .6870447    .1414907                .4086619    .9654275
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   4.8558
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 0.0000

. ttest Q17_c1 if treat_tv==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164         2.5    .1346961    1.724952    2.234026    2.765974
       1 |     154    3.441558    .1603692    1.990129    3.124735    3.758382
---------+--------------------------------------------------------------------
Combined |     318    2.955975    .1073358    1.914072    2.744794    3.167155
---------+--------------------------------------------------------------------
    diff |           -.9415584    .2084947               -1.351772   -.5313453
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -4.5160
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 1.0000

. ttest Q17_d1 if treat_tv==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164         2.5    .1324557    1.696261     2.23845     2.76155
       1 |     154    3.298701    .1544765    1.917003    2.993519    3.603884
---------+--------------------------------------------------------------------
Combined |     318    2.886792    .1035989    1.847434    2.682964    3.090621
---------+--------------------------------------------------------------------
    diff |           -.7987013    .2027084                -1.19753   -.3998726
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -3.9401
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0001         Pr(|T| > |t|) = 0.0001          Pr(T > t) = 0.9999

. ttest Q17_e1 if treat_tv==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    5.414634    .1285581    1.646347     5.16078    5.668488
       1 |     154    5.019481    .1130147    1.402476     4.79621    5.242751
---------+--------------------------------------------------------------------
Combined |     318     5.22327    .0865511    1.543428    5.052983    5.393558
---------+--------------------------------------------------------------------
    diff |            .3951536    .1720315                .0566817    .7336256
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.2970
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9889         Pr(|T| > |t|) = 0.0223          Pr(T > t) = 0.0111

. ttest Q17_f1 if treat_tv==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     163    3.742331    .1501316    1.916752    3.445864    4.038799
       1 |     154    4.311688    .1428841    1.773146    4.029408    4.593969
---------+--------------------------------------------------------------------
Combined |     317    4.018927    .1048806    1.867346    3.812575     4.22528
---------+--------------------------------------------------------------------
    diff |            -.569357    .2077161               -.9780433   -.1606708
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.7410
H0: diff = 0                                     Degrees of freedom =      315

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0032         Pr(|T| > |t|) = 0.0065          Pr(T > t) = 0.9968

. ttest Q17_g1 if treat_tv==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    4.237805    .1718788    2.201123    3.898409    4.577201
       1 |     154    4.863636    .1322557     1.64125    4.602353    5.124919
---------+--------------------------------------------------------------------
Combined |     318    4.540881    .1105943    1.972179    4.323289    4.758472
---------+--------------------------------------------------------------------
    diff |           -.6258315    .2188341               -1.056388   -.1952755
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.8598
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0023         Pr(|T| > |t|) = 0.0045          Pr(T > t) = 0.9977

. ttest Q17_h1 if treat_tv==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    3.963415    .1647733    2.110128    3.638049     4.28878
       1 |     154    4.246753    .1351894    1.677657    3.979674    4.513832
---------+--------------------------------------------------------------------
Combined |     318    4.100629    .1074003    1.915222    3.889321    4.311936
---------+--------------------------------------------------------------------
    diff |           -.2833386    .2146557               -.7056737    .1389964
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.3200
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0939         Pr(|T| > |t|) = 0.1878          Pr(T > t) = 0.9061

. ttest Q17_i1 if treat_tv==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    5.207317    .1272635    1.629768    4.956019    5.458615
       1 |     154     4.74026     .121112    1.502961    4.500992    4.979528
---------+--------------------------------------------------------------------
Combined |     318    4.981132    .0888551    1.584514    4.806312    5.155952
---------+--------------------------------------------------------------------
    diff |            .4670573    .1761304                .1205209    .8135937
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.6518
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9958         Pr(|T| > |t|) = 0.0084          Pr(T > t) = 0.0042

. ttest Q17_j1 if treat_tv==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.079268    .1104264    1.414147    5.861218    6.297319
       1 |     154    5.292208    .1218527    1.512153    5.051477    5.532939
---------+--------------------------------------------------------------------
Combined |     318    5.698113     .084807    1.512325    5.531258    5.864969
---------+--------------------------------------------------------------------
    diff |            .7870605     .164098                .4641978    1.109923
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   4.7963
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 0.0000

. ttest DVindex1 if treat_tv==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     163    5.256442     .078981    1.008362    5.100477    5.412407
       1 |     154    4.818831    .0776412    .9635019    4.665444    4.972218
---------+--------------------------------------------------------------------
Combined |     317    5.043849    .0566893    1.009324    4.932312    5.155385
---------+--------------------------------------------------------------------
    diff |            .4376106    .1108962                .2194196    .6558015
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   3.9461
H0: diff = 0                                     Degrees of freedom =      315

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0001          Pr(T > t) = 0.0000

. 
. ***Generic
. 
. ttest Q17_a1 if treat_generic==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.109756    .1001317    1.282311    5.912034    6.307479
       1 |     143    5.657343     .134659    1.610288    5.391147    5.923538
---------+--------------------------------------------------------------------
Combined |     307    5.899023    .0833011    1.459552    5.735107    6.062938
---------+--------------------------------------------------------------------
    diff |            .4524134    .1652486                .1272418    .7775851
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.7378
H0: diff = 0                                     Degrees of freedom =      305

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9967         Pr(|T| > |t|) = 0.0065          Pr(T > t) = 0.0033

. ttest Q17_b1 if treat_generic==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.243902    .0955864    1.224103    6.055155     6.43265
       1 |     143    5.685315     .117183    1.401305    5.453666    5.916963
---------+--------------------------------------------------------------------
Combined |     307    5.983713    .0763012    1.336905    5.833572    6.133855
---------+--------------------------------------------------------------------
    diff |            .5585878    .1498355                .2637456    .8534299
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   3.7280
H0: diff = 0                                     Degrees of freedom =      305

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9999         Pr(|T| > |t|) = 0.0002          Pr(T > t) = 0.0001

. ttest Q17_c1 if treat_generic==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    2.530488    .1281271    1.640828    2.277485    2.783491
       1 |     143    3.258741    .1539759    1.841284     2.95436    3.563123
---------+--------------------------------------------------------------------
Combined |     307    2.869707    .1011309    1.771957    2.670707    3.068707
---------+--------------------------------------------------------------------
    diff |           -.7282535    .1987412               -1.119331    -.337176
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -3.6643
H0: diff = 0                                     Degrees of freedom =      305

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0001         Pr(|T| > |t|) = 0.0003          Pr(T > t) = 0.9999

. ttest Q17_d1 if treat_generic==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    2.573171     .128313    1.643209    2.319801    2.826541
       1 |     143    3.181818    .1529887    1.829478    2.879389    3.484248
---------+--------------------------------------------------------------------
Combined |     307    2.856678    .1002272    1.756123    2.659456    3.053899
---------+--------------------------------------------------------------------
    diff |           -.6086475    .1982136               -.9986868   -.2186081
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -3.0707
H0: diff = 0                                     Degrees of freedom =      305

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0012         Pr(|T| > |t|) = 0.0023          Pr(T > t) = 0.9988

. ttest Q17_e1 if treat_generic==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    5.756098    .1056258     1.35267    5.547526    5.964669
       1 |     143    4.979021    .1344261    1.607502    4.713286    5.244756
---------+--------------------------------------------------------------------
Combined |     307    5.394137    .0870161    1.524644    5.222911    5.565362
---------+--------------------------------------------------------------------
    diff |            .7770766     .168966                  .44459    1.109563
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   4.5990
H0: diff = 0                                     Degrees of freedom =      305

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 0.0000

. ttest Q17_f1 if treat_generic==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    3.676829    .1431607    1.833351    3.394141    3.959518
       1 |     143     4.13986     .153299    1.833189    3.836817    4.442903
---------+--------------------------------------------------------------------
Combined |     307    3.892508    .1052907    1.844842    3.685323    4.099694
---------+--------------------------------------------------------------------
    diff |           -.4630309    .2097525                -.875776   -.0502858
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.2075
H0: diff = 0                                     Degrees of freedom =      305

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0140         Pr(|T| > |t|) = 0.0280          Pr(T > t) = 0.9860

. ttest Q17_g1 if treat_generic==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     163    4.705521    .1696356    2.165762    4.370539    5.040504
       1 |     143    4.888112    .1498891    1.792413    4.591809    5.184414
---------+--------------------------------------------------------------------
Combined |     306     4.79085    .1142674    1.998864    4.565997    5.015702
---------+--------------------------------------------------------------------
    diff |           -.1825904    .2291618               -.6335346    .2683538
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.7968
H0: diff = 0                                     Degrees of freedom =      304

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.2131         Pr(|T| > |t|) = 0.4262          Pr(T > t) = 0.7869

. ttest Q17_h1 if treat_generic==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    4.158537    .1594776     2.04231    3.843628    4.473445
       1 |     143    4.265734    .1587747    1.898669    3.951867    4.579602
---------+--------------------------------------------------------------------
Combined |     307    4.208469    .1126751    1.974228    3.986753    4.430185
---------+--------------------------------------------------------------------
    diff |           -.1071977     .226166                -.552241    .3378456
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.4740
H0: diff = 0                                     Degrees of freedom =      305

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3179         Pr(|T| > |t|) = 0.6359          Pr(T > t) = 0.6821

. ttest Q17_i1 if treat_generic==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    5.402439    .1096563    1.404286    5.185909    5.618969
       1 |     143    4.727273    .1256057    1.502026    4.478974    4.975571
---------+--------------------------------------------------------------------
Combined |     307    5.087948    .0848681    1.487008    4.920949    5.254947
---------+--------------------------------------------------------------------
    diff |            .6751663    .1659702                .3485748    1.001758
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   4.0680
H0: diff = 0                                     Degrees of freedom =      305

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 1.0000         Pr(|T| > |t|) = 0.0001          Pr(T > t) = 0.0000

. ttest Q17_j1 if treat_generic==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.146341    .0990921    1.268997    5.950672    6.342011
       1 |     143    5.601399    .1294511     1.54801    5.345498    5.857299
---------+--------------------------------------------------------------------
Combined |     307    5.892508    .0815957    1.429672    5.731948    6.053068
---------+--------------------------------------------------------------------
    diff |            .5449429    .1608438                .2284389    .8614468
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   3.3880
H0: diff = 0                                     Degrees of freedom =      305

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9996         Pr(|T| > |t|) = 0.0008          Pr(T > t) = 0.0004

. ttest DVindex1 if treat_generic==1 & (age1==1 | age3==1), by(age1) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     163    5.378528    .0788645    1.006874    5.222793    5.534263
       1 |     143    4.922378    .0858181    1.026235    4.752732    5.092024
---------+--------------------------------------------------------------------
Combined |     306    5.165359    .0594298    1.039598    5.048415    5.282304
---------+--------------------------------------------------------------------
    diff |              .45615    .1164064                .2270856    .6852143
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   3.9186
H0: diff = 0                                     Degrees of freedom =      304

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9999         Pr(|T| > |t|) = 0.0001          Pr(T > t) = 0.0001

. 
. 
. *take output from these models and put them into a new filed called "age-figure-data.dta"
. 
. clear

. use age-figure-data.dta 

. set scheme s1mono

. label define type2 1 "Annoying" 2 "Misleading" 3 "Entertaining" 4 "Helpful" 5 "Too Negative" 6 "Vital"  7 "Regulate" 8 "Ban" 9 "Uncivil" 10 "Too Many" 11 "Index"

. label values question2 type2

. 
. ***Figure 3
. 
. twoway (bar diff question2 if online==1, barw(.85))  || rcap hi low question2 if online==1, legend(off) xtitle("") ytitle("Difference between Older and Younger")
>  xlabel(,angle(45)) xlabel(1 "Annoying" 2 "Misleading" 3 "Entertaining" 4 "Helpful" 5 "Too Negative" 6 "Vital" 7 "Regulate" 8 "Ban" 9 "Uncivil" 10 "Too Many" 11 
> "Index") yline(0) title("Online Ads") 

. 
. ***Figure 4
. 
. twoway (bar diff question2 if online==0, barw(.85))  || rcap hi low question2 if online==0, legend(off) xtitle("") ytitle("Difference between Older and Younger")
>  xlabel(,angle(45)) xlabel(1 "Annoying" 2 "Misleading" 3 "Entertaining" 4 "Helpful" 5 "Too Negative" 6 "Vital" 7 "Regulate" 8 "Ban" 9 "Uncivil" 10 "Too Many" 11 
> "Index") yline(0) title("Television Ads")

. 
. 
. ****Creating TV v. Online by Age Figures--and Table C3
. 
. clear

. 
. use ad_experiment.dta

. 
. ***young people--tV v. online
.  ttest Q17_a1 if (treat_online==1 | treat_tv==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    5.545455    .1236388    1.534317    5.301195    5.789714
       1 |     156    5.647436    .1167539    1.458256    5.416802     5.87807
---------+--------------------------------------------------------------------
Combined |     310    5.596774    .0849087    1.494972    5.429702    5.763847
---------+--------------------------------------------------------------------
    diff |           -.1019814    .1699971                -.436484    .2325213
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.5999
H0: diff = 0                                     Degrees of freedom =      308

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.2745         Pr(|T| > |t|) = 0.5490          Pr(T > t) = 0.7255

.  ttest Q17_b1 if (treat_online==1 | treat_tv==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    5.532468    .1086876    1.348777    5.317745     5.74719
       1 |     156    5.576923    .1136064    1.418943    5.352507     5.80134
---------+--------------------------------------------------------------------
Combined |     310    5.554839     .078519     1.38247    5.400339    5.709338
---------+--------------------------------------------------------------------
    diff |           -.0444555    .1572756               -.3539261     .265015
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.2827
H0: diff = 0                                     Degrees of freedom =      308

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3888         Pr(|T| > |t|) = 0.7776          Pr(T > t) = 0.6112

.  ttest Q17_c1 if (treat_online==1 | treat_tv==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    3.441558    .1603692    1.990129    3.124735    3.758382
       1 |     156    3.211538    .1452329    1.813959    2.924647     3.49843
---------+--------------------------------------------------------------------
Combined |     310    3.325806    .1081352    1.903917    3.113032    3.538581
---------+--------------------------------------------------------------------
    diff |              .23002    .2162288               -.1954526    .6554926
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.0638
H0: diff = 0                                     Degrees of freedom =      308

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8559         Pr(|T| > |t|) = 0.2883          Pr(T > t) = 0.1441

.  ttest Q17_d1 if (treat_online==1 | treat_tv==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    3.298701    .1544765    1.917003    2.993519    3.603884
       1 |     156     3.25641    .1434745    1.791996    2.972993    3.539828
---------+--------------------------------------------------------------------
Combined |     310    3.277419    .1052015    1.852263    3.070417    3.484421
---------+--------------------------------------------------------------------
    diff |             .042291    .2107349               -.3723712    .4569532
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.2007
H0: diff = 0                                     Degrees of freedom =      308

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5795         Pr(|T| > |t|) = 0.8411          Pr(T > t) = 0.4205

.  ttest Q17_e1 if (treat_online==1 | treat_tv==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    5.019481    .1130147    1.402476     4.79621    5.242751
       1 |     156    4.891026      .12255    1.530649    4.648942    5.133109
---------+--------------------------------------------------------------------
Combined |     310    4.954839    .0833433    1.467411    4.790846    5.118831
---------+--------------------------------------------------------------------
    diff |            .1284549       .1668               -.1997568    .4566665
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.7701
H0: diff = 0                                     Degrees of freedom =      308

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7791         Pr(|T| > |t|) = 0.4418          Pr(T > t) = 0.2209

.  ttest Q17_f1 if (treat_online==1 | treat_tv==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    4.311688    .1428841    1.773146    4.029408    4.593969
       1 |     156    4.198718    .1245073    1.555095    3.952768    4.444668
---------+--------------------------------------------------------------------
Combined |     310    4.254839    .0945795    1.665243    4.068737     4.44094
---------+--------------------------------------------------------------------
    diff |            .1129704    .1893603               -.2596331    .4855739
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.5966
H0: diff = 0                                     Degrees of freedom =      308

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7244         Pr(|T| > |t|) = 0.5512          Pr(T > t) = 0.2756

.  ttest Q17_g1 if (treat_online==1 | treat_tv==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    4.863636    .1322557     1.64125    4.602353    5.124919
       1 |     156    4.730769    .1511867    1.888321    4.432117    5.029421
---------+--------------------------------------------------------------------
Combined |     310    4.796774    .1004321     1.76829    4.599157    4.994392
---------+--------------------------------------------------------------------
    diff |            .1328671    .2010518               -.2627417    .5284759
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.6609
H0: diff = 0                                     Degrees of freedom =      308

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7454         Pr(|T| > |t|) = 0.5092          Pr(T > t) = 0.2546

.  ttest Q17_h1 if (treat_online==1 | treat_tv==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    4.246753    .1351894    1.677657    3.979674    4.513832
       1 |     156    3.980769    .1456485     1.81915    3.693057    4.268481
---------+--------------------------------------------------------------------
Combined |     310    4.112903    .0995369    1.752528    3.917047    4.308759
---------+--------------------------------------------------------------------
    diff |             .265984     .198824               -.1252413    .6572093
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.3378
H0: diff = 0                                     Degrees of freedom =      308

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9090         Pr(|T| > |t|) = 0.1820          Pr(T > t) = 0.0910

.  ttest Q17_i1 if (treat_online==1 | treat_tv==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154     4.74026     .121112    1.502961    4.500992    4.979528
       1 |     156    4.487179    .1238636    1.547056    4.242501    4.731858
---------+--------------------------------------------------------------------
Combined |     310    4.612903    .0867906    1.528106    4.442128    4.783679
---------+--------------------------------------------------------------------
    diff |            .2530803    .1732673               -.0878571    .5940176
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.4606
H0: diff = 0                                     Degrees of freedom =      308

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9274         Pr(|T| > |t|) = 0.1451          Pr(T > t) = 0.0726

.  ttest Q17_j1 if (treat_online==1 | treat_tv==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    5.292208    .1218527    1.512153    5.051477    5.532939
       1 |     156     5.24359    .1337788    1.670896    4.979325    5.507855
---------+--------------------------------------------------------------------
Combined |     310    5.267742     .090398    1.591622    5.089868    5.445616
---------+--------------------------------------------------------------------
    diff |             .048618    .1810719               -.3076765    .4049126
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.2685
H0: diff = 0                                     Degrees of freedom =      308

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6058         Pr(|T| > |t|) = 0.7885          Pr(T > t) = 0.3942

.  ttest DVindex1 if (treat_online==1 | treat_tv==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    4.818831    .0776412    .9635019    4.665444    4.972218
       1 |     156    4.789103    .0750879    .9378475    4.640775     4.93743
---------+--------------------------------------------------------------------
Combined |     310    4.803871    .0539141    .9492551    4.697786    4.909956
---------+--------------------------------------------------------------------
    diff |            .0297286     .107992               -.1827668     .242224
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.2753
H0: diff = 0                                     Degrees of freedom =      308

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6084         Pr(|T| > |t|) = 0.7833          Pr(T > t) = 0.3916

. 
. ***young people--tV v. generic
. 
.  ttest Q17_a1 if (treat_generic==1 | treat_tv==1) & (age1==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    5.545455    .1236388    1.534317    5.301195    5.789714
       1 |     143    5.657343     .134659    1.610288    5.391147    5.923538
---------+--------------------------------------------------------------------
Combined |     297    5.599327    .0910825    1.569687    5.420075    5.778578
---------+--------------------------------------------------------------------
    diff |           -.1118881    .1824825               -.4710207    .2472445
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.6131
H0: diff = 0                                     Degrees of freedom =      295

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.2701         Pr(|T| > |t|) = 0.5403          Pr(T > t) = 0.7299

.  ttest Q17_b1 if (treat_generic==1 | treat_tv==1) & (age1==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    5.532468    .1086876    1.348777    5.317745     5.74719
       1 |     143    5.685315     .117183    1.401305    5.453666    5.916963
---------+--------------------------------------------------------------------
Combined |     297    5.606061    .0797345     1.37412    5.449142    5.762979
---------+--------------------------------------------------------------------
    diff |           -.1528472    .1596009               -.4669478    .1612535
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.9577
H0: diff = 0                                     Degrees of freedom =      295

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1695         Pr(|T| > |t|) = 0.3390          Pr(T > t) = 0.8305

.  ttest Q17_c1 if (treat_generic==1 | treat_tv==1) & (age1==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    3.441558    .1603692    1.990129    3.124735    3.758382
       1 |     143    3.258741    .1539759    1.841284     2.95436    3.563123
---------+--------------------------------------------------------------------
Combined |     297    3.353535    .1113435     1.91886     3.13441    3.572661
---------+--------------------------------------------------------------------
    diff |            .1828172    .2229634               -.2559833    .6216177
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.8199
H0: diff = 0                                     Degrees of freedom =      295

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7935         Pr(|T| > |t|) = 0.4129          Pr(T > t) = 0.2065

.  ttest Q17_d1 if (treat_generic==1 | treat_tv==1) & (age1==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    3.298701    .1544765    1.917003    2.993519    3.603884
       1 |     143    3.181818    .1529887    1.829478    2.879389    3.484248
---------+--------------------------------------------------------------------
Combined |     297    3.242424    .1086898    1.873126    3.028522    3.456327
---------+--------------------------------------------------------------------
    diff |            .1168831    .2177909               -.3117376    .5455039
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.5367
H0: diff = 0                                     Degrees of freedom =      295

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7041         Pr(|T| > |t|) = 0.5919          Pr(T > t) = 0.2959

.  ttest Q17_e1 if (treat_generic==1 | treat_tv==1) & (age1==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    5.019481    .1130147    1.402476     4.79621    5.242751
       1 |     143    4.979021    .1344261    1.607502    4.713286    5.244756
---------+--------------------------------------------------------------------
Combined |     297           5    .0871694    1.502251     4.82845     5.17155
---------+--------------------------------------------------------------------
    diff |            .0404595    .1747381               -.3034317    .3843508
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.2315
H0: diff = 0                                     Degrees of freedom =      295

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5915         Pr(|T| > |t|) = 0.8171          Pr(T > t) = 0.4085

.  ttest Q17_f1 if (treat_generic==1 | treat_tv==1) & (age1==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    4.311688    .1428841    1.773146    4.029408    4.593969
       1 |     143     4.13986     .153299    1.833189    3.836817    4.442903
---------+--------------------------------------------------------------------
Combined |     297    4.228956    .1045223    1.801305    4.023255    4.434657
---------+--------------------------------------------------------------------
    diff |            .1718282    .2093034                -.240089    .5837453
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.8210
H0: diff = 0                                     Degrees of freedom =      295

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7938         Pr(|T| > |t|) = 0.4123          Pr(T > t) = 0.2062

.  ttest Q17_g1 if (treat_generic==1 | treat_tv==1) & (age1==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    4.863636    .1322557     1.64125    4.602353    5.124919
       1 |     143    4.888112    .1498891    1.792413    4.591809    5.184414
---------+--------------------------------------------------------------------
Combined |     297    4.875421    .0993879     1.71282    4.679824    5.071017
---------+--------------------------------------------------------------------
    diff |           -.0244755     .199244               -.4165953    .3676443
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.1228
H0: diff = 0                                     Degrees of freedom =      295

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.4512         Pr(|T| > |t|) = 0.9023          Pr(T > t) = 0.5488

.  ttest Q17_h1 if (treat_generic==1 | treat_tv==1) & (age1==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    4.246753    .1351894    1.677657    3.979674    4.513832
       1 |     143    4.265734    .1587747    1.898669    3.951867    4.579602
---------+--------------------------------------------------------------------
Combined |     297    4.255892    .1035449     1.78446    4.052115     4.45967
---------+--------------------------------------------------------------------
    diff |            -.018981    .2075799               -.4275063    .3895442
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.0914
H0: diff = 0                                     Degrees of freedom =      295

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.4636         Pr(|T| > |t|) = 0.9272          Pr(T > t) = 0.5364

.  ttest Q17_i1 if (treat_generic==1 | treat_tv==1) & (age1==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154     4.74026     .121112    1.502961    4.500992    4.979528
       1 |     143    4.727273    .1256057    1.502026    4.478974    4.975571
---------+--------------------------------------------------------------------
Combined |     297    4.734007    .0870379    1.499985    4.562715    4.905298
---------+--------------------------------------------------------------------
    diff |             .012987    .1744888               -.3304135    .3563876
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.0744
H0: diff = 0                                     Degrees of freedom =      295

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5296         Pr(|T| > |t|) = 0.9407          Pr(T > t) = 0.4704

.  ttest Q17_j1 if (treat_generic==1 | treat_tv==1) & (age1==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    5.292208    .1218527    1.512153    5.051477    5.532939
       1 |     143    5.601399    .1294511     1.54801    5.345498    5.857299
---------+--------------------------------------------------------------------
Combined |     297    5.441077    .0890554    1.534754    5.265815     5.61634
---------+--------------------------------------------------------------------
    diff |           -.3091908    .1776251               -.6587638    .0403822
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.7407
H0: diff = 0                                     Degrees of freedom =      295

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0414         Pr(|T| > |t|) = 0.0828          Pr(T > t) = 0.9586

.  ttest DVindex1 if (treat_generic==1 | treat_tv==1) & (age1==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     154    4.818831    .0776412    .9635019    4.665444    4.972218
       1 |     143    4.922378    .0858181    1.026235    4.752732    5.092024
---------+--------------------------------------------------------------------
Combined |     297    4.868687    .0576699    .9938643    4.755192    4.982182
---------+--------------------------------------------------------------------
    diff |           -.1035465    .1154571               -.3307704    .1236774
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.8968
H0: diff = 0                                     Degrees of freedom =      295

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1853         Pr(|T| > |t|) = 0.3705          Pr(T > t) = 0.8147

. 
. 
. ***young people--online v. generic
.  ttest Q17_a1 if (treat_online==1 | treat_generic==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     143    5.657343     .134659    1.610288    5.391147    5.923538
       1 |     156    5.647436    .1167539    1.458256    5.416802     5.87807
---------+--------------------------------------------------------------------
Combined |     299    5.652174    .0884973    1.530261    5.478015    5.826333
---------+--------------------------------------------------------------------
    diff |            .0099068    .1774591               -.3393299    .3591434
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.0558
H0: diff = 0                                     Degrees of freedom =      297

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5222         Pr(|T| > |t|) = 0.9555          Pr(T > t) = 0.4778

.  ttest Q17_b1 if (treat_online==1 | treat_generic==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     143    5.685315     .117183    1.401305    5.453666    5.916963
       1 |     156    5.576923    .1136064    1.418943    5.352507     5.80134
---------+--------------------------------------------------------------------
Combined |     299    5.628763    .0814969    1.409213     5.46838    5.789145
---------+--------------------------------------------------------------------
    diff |            .1083916    .1633014               -.2129829    .4297661
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.6638
H0: diff = 0                                     Degrees of freedom =      297

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7463         Pr(|T| > |t|) = 0.5074          Pr(T > t) = 0.2537

.  ttest Q17_c1 if (treat_online==1 | treat_generic==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     143    3.258741    .1539759    1.841284     2.95436    3.563123
       1 |     156    3.211538    .1452329    1.813959    2.924647     3.49843
---------+--------------------------------------------------------------------
Combined |     299    3.234114    .1054939    1.824159    3.026506    3.441721
---------+--------------------------------------------------------------------
    diff |            .0472028    .2115249               -.3690748    .4634804
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.2232
H0: diff = 0                                     Degrees of freedom =      297

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5882         Pr(|T| > |t|) = 0.8236          Pr(T > t) = 0.4118

.  ttest Q17_d1 if (treat_online==1 | treat_generic==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     143    3.181818    .1529887    1.829478    2.879389    3.484248
       1 |     156     3.25641    .1434745    1.791996    2.972993    3.539828
---------+--------------------------------------------------------------------
Combined |     299    3.220736    .1045223     1.80736     3.01504    3.426431
---------+--------------------------------------------------------------------
    diff |           -.0745921    .2095497               -.4869825    .3377983
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.3560
H0: diff = 0                                     Degrees of freedom =      297

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3611         Pr(|T| > |t|) = 0.7221          Pr(T > t) = 0.6389

.  ttest Q17_e1 if (treat_online==1 | treat_generic==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     143    4.979021    .1344261    1.607502    4.713286    5.244756
       1 |     156    4.891026      .12255    1.530649    4.648942    5.133109
---------+--------------------------------------------------------------------
Combined |     299     4.93311    .0905555     1.56585    4.754901     5.11132
---------+--------------------------------------------------------------------
    diff |            .0879953    .1815155               -.2692241    .4452148
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.4848
H0: diff = 0                                     Degrees of freedom =      297

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6859         Pr(|T| > |t|) = 0.6282          Pr(T > t) = 0.3141

.  ttest Q17_f1 if (treat_online==1 | treat_generic==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     143     4.13986     .153299    1.833189    3.836817    4.442903
       1 |     156    4.198718    .1245073    1.555095    3.952768    4.444668
---------+--------------------------------------------------------------------
Combined |     299    4.170569    .0978031    1.691174    3.978096    4.363041
---------+--------------------------------------------------------------------
    diff |           -.0588578     .196091               -.4447617    .3270461
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.3002
H0: diff = 0                                     Degrees of freedom =      297

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3821         Pr(|T| > |t|) = 0.7643          Pr(T > t) = 0.6179

.  ttest Q17_g1 if (treat_online==1 | treat_generic==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     143    4.888112    .1498891    1.792413    4.591809    5.184414
       1 |     156    4.730769    .1511867    1.888321    4.432117    5.029421
---------+--------------------------------------------------------------------
Combined |     299     4.80602     .106507    1.841677    4.596419    5.015621
---------+--------------------------------------------------------------------
    diff |            .1573427    .2133789               -.2625836    .5772689
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.7374
H0: diff = 0                                     Degrees of freedom =      297

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7693         Pr(|T| > |t|) = 0.4615          Pr(T > t) = 0.2307

.  ttest Q17_h1 if (treat_online==1 | treat_generic==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     143    4.265734    .1587747    1.898669    3.951867    4.579602
       1 |     156    3.980769    .1456485     1.81915    3.693057    4.268481
---------+--------------------------------------------------------------------
Combined |     299    4.117057    .1075636    1.859948    3.905376    4.328737
---------+--------------------------------------------------------------------
    diff |             .284965    .2150582                -.138266     .708196
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.3251
H0: diff = 0                                     Degrees of freedom =      297

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9069         Pr(|T| > |t|) = 0.1862          Pr(T > t) = 0.0931

.  ttest Q17_i1 if (treat_online==1 | treat_generic==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     143    4.727273    .1256057    1.502026    4.478974    4.975571
       1 |     156    4.487179    .1238636    1.547056    4.242501    4.731858
---------+--------------------------------------------------------------------
Combined |     299    4.602007    .0883585    1.527861    4.428121    4.775892
---------+--------------------------------------------------------------------
    diff |            .2400932    .1766332               -.1075179    .5877044
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.3593
H0: diff = 0                                     Degrees of freedom =      297

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9125         Pr(|T| > |t|) = 0.1751          Pr(T > t) = 0.0875

.  ttest Q17_j1 if (treat_online==1 | treat_generic==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     143    5.601399    .1294511     1.54801    5.345498    5.857299
       1 |     156     5.24359    .1337788    1.670896    4.979325    5.507855
---------+--------------------------------------------------------------------
Combined |     299    5.414716    .0937172    1.620522    5.230284    5.599147
---------+--------------------------------------------------------------------
    diff |            .3578089     .186777               -.0097652    .7253829
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.9157
H0: diff = 0                                     Degrees of freedom =      297

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9718         Pr(|T| > |t|) = 0.0564          Pr(T > t) = 0.0282

.  ttest DVindex1 if (treat_online==1 | treat_generic==1) & (age1==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     143    4.922378    .0858181    1.026235    4.752732    5.092024
       1 |     156    4.789103    .0750879    .9378475    4.640775     4.93743
---------+--------------------------------------------------------------------
Combined |     299    4.852843    .0567744    .9817207    4.741113    4.964572
---------+--------------------------------------------------------------------
    diff |            .1332751    .1135844               -.0902572    .3568074
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.1734
H0: diff = 0                                     Degrees of freedom =      297

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8792         Pr(|T| > |t|) = 0.2416          Pr(T > t) = 0.1208

. 
. 
. ***older people--tV v. online
.  ttest Q17_a1 if (treat_online==1 | treat_tv==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.146341    .1031611    1.321107    5.942637    6.350046
       1 |     155    5.845161    .1136447    1.414865    5.620658    6.069665
---------+--------------------------------------------------------------------
Combined |     319           6    .0769072    1.373606    5.848689    6.151311
---------+--------------------------------------------------------------------
    diff |            .3011802    .1531869               -.0002113    .6025717
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.9661
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9749         Pr(|T| > |t|) = 0.0502          Pr(T > t) = 0.0251

.  ttest Q17_b1 if (treat_online==1 | treat_tv==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.219512    .0915594    1.172532    6.038717    6.400308
       1 |     155    5.954839    .1159077    1.443039    5.725864    6.183813
---------+--------------------------------------------------------------------
Combined |     319    6.090909    .0736573    1.315562    5.945992    6.235826
---------+--------------------------------------------------------------------
    diff |            .2646735    .1468551               -.0242604    .5536074
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.8023
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9638         Pr(|T| > |t|) = 0.0725          Pr(T > t) = 0.0362

.  ttest Q17_c1 if (treat_online==1 | treat_tv==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164         2.5    .1346961    1.724952    2.234026    2.765974
       1 |     155    2.606452    .1292876    1.609617    2.351046    2.861858
---------+--------------------------------------------------------------------
Combined |     319    2.551724     .093398    1.668141    2.367968     2.73548
---------+--------------------------------------------------------------------
    diff |           -.1064516    .1870693               -.4745059    .2616027
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.5690
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.2849         Pr(|T| > |t|) = 0.5697          Pr(T > t) = 0.7151

.  ttest Q17_d1 if (treat_online==1 | treat_tv==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164         2.5    .1324557    1.696261     2.23845     2.76155
       1 |     155    2.593548    .1264039    1.573716    2.343839    2.843258
---------+--------------------------------------------------------------------
Combined |     319    2.545455    .0915965    1.635967    2.365243    2.725666
---------+--------------------------------------------------------------------
    diff |           -.0935484    .1834797               -.4545401    .2674434
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.5099
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3053         Pr(|T| > |t|) = 0.6105          Pr(T > t) = 0.6947

.  ttest Q17_e1 if (treat_online==1 | treat_tv==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    5.414634    .1285581    1.646347     5.16078    5.668488
       1 |     155    5.625806    .1036204    1.290064    5.421106    5.830507
---------+--------------------------------------------------------------------
Combined |     319    5.517241    .0831674    1.485417    5.353614    5.680869
---------+--------------------------------------------------------------------
    diff |           -.2111723    .1662407               -.5382468    .1159022
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.2703
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1025         Pr(|T| > |t|) = 0.2049          Pr(T > t) = 0.8975

.  ttest Q17_f1 if (treat_online==1 | treat_tv==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     163    3.742331    .1501316    1.916752    3.445864    4.038799
       1 |     155    3.967742    .1445619    1.799781    3.682162    4.253322
---------+--------------------------------------------------------------------
Combined |     318    3.852201    .1043683    1.861153    3.646859    4.057543
---------+--------------------------------------------------------------------
    diff |           -.2254106     .208748               -.6361222    .1853009
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.0798
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1405         Pr(|T| > |t|) = 0.2810          Pr(T > t) = 0.8595

.  ttest Q17_g1 if (treat_online==1 | treat_tv==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    4.237805    .1718788    2.201123    3.898409    4.577201
       1 |     155     4.56129    .1751375    2.180444    4.215308    4.907272
---------+--------------------------------------------------------------------
Combined |     319    4.394984    .1228202    2.193639    4.153342    4.636627
---------+--------------------------------------------------------------------
    diff |           -.3234854     .245454               -.8064101    .1594393
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.3179
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0942         Pr(|T| > |t|) = 0.1885          Pr(T > t) = 0.9058

.  ttest Q17_h1 if (treat_online==1 | treat_tv==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    3.963415    .1647733    2.110128    3.638049     4.28878
       1 |     155     4.16129    .1661521    2.068577    3.833059    4.489522
---------+--------------------------------------------------------------------
Combined |     319    4.059561    .1169675    2.089106    3.829433    4.289689
---------+--------------------------------------------------------------------
    diff |           -.1978757    .2341334               -.6585274    .2627761
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.8451
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1993         Pr(|T| > |t|) = 0.3987          Pr(T > t) = 0.8007

.  ttest Q17_i1 if (treat_online==1 | treat_tv==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    5.207317    .1272635    1.629768    4.956019    5.458615
       1 |     155    5.167742    .1167997    1.454145    4.937005    5.398478
---------+--------------------------------------------------------------------
Combined |     319    5.188088    .0864829    1.544634    5.017937    5.358239
---------+--------------------------------------------------------------------
    diff |            .0395751    .1732932                -.301375    .3805253
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.2284
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.5902         Pr(|T| > |t|) = 0.8195          Pr(T > t) = 0.4098

.  ttest Q17_j1 if (treat_online==1 | treat_tv==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.079268    .1104264    1.414147    5.861218    6.297319
       1 |     155    5.729032    .1215421    1.513187    5.488927    5.969137
---------+--------------------------------------------------------------------
Combined |     319    5.909091    .0823759     1.47128     5.74702    6.071161
---------+--------------------------------------------------------------------
    diff |             .350236    .1639009                 .027765     .672707
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.1369
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9833         Pr(|T| > |t|) = 0.0334          Pr(T > t) = 0.0167

.  ttest DVindex1 if (treat_online==1 | treat_tv==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     163    5.256442     .078981    1.008362    5.100477    5.412407
       1 |     155    5.187742    .0834596    1.039064    5.022868    5.352615
---------+--------------------------------------------------------------------
Combined |     318    5.222956    .0573335    1.022403    5.110154    5.335758
---------+--------------------------------------------------------------------
    diff |            .0686998    .1148196               -.1572078    .2946073
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.5983
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7250         Pr(|T| > |t|) = 0.5500          Pr(T > t) = 0.2750

. 
. ***older people--tV v. generic
. 
.  ttest Q17_a1 if (treat_generic==1 | treat_tv==1) & (age3==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.146341    .1031611    1.321107    5.942637    6.350046
       1 |     164    6.109756    .1001317    1.282311    5.912034    6.307479
---------+--------------------------------------------------------------------
Combined |     328    6.128049      .07178    1.299991     5.98684    6.269258
---------+--------------------------------------------------------------------
    diff |            .0365854    .1437657               -.2462402    .3194109
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.2545
H0: diff = 0                                     Degrees of freedom =      326

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6004         Pr(|T| > |t|) = 0.7993          Pr(T > t) = 0.3996

.  ttest Q17_b1 if (treat_generic==1 | treat_tv==1) & (age3==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.219512    .0915594    1.172532    6.038717    6.400308
       1 |     164    6.243902    .0955864    1.224103    6.055155     6.43265
---------+--------------------------------------------------------------------
Combined |     328    6.231707    .0660835    1.196823    6.101705     6.36171
---------+--------------------------------------------------------------------
    diff |           -.0243902    .1323627               -.2847831    .2360026
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.1843
H0: diff = 0                                     Degrees of freedom =      326

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.4270         Pr(|T| > |t|) = 0.8539          Pr(T > t) = 0.5730

.  ttest Q17_c1 if (treat_generic==1 | treat_tv==1) & (age3==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164         2.5    .1346961    1.724952    2.234026    2.765974
       1 |     164    2.530488    .1281271    1.640828    2.277485    2.783491
---------+--------------------------------------------------------------------
Combined |     328    2.515244    .0928127    1.680909    2.332659    2.697829
---------+--------------------------------------------------------------------
    diff |           -.0304878    .1859022               -.3962071    .3352315
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.1640
H0: diff = 0                                     Degrees of freedom =      326

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.4349         Pr(|T| > |t|) = 0.8698          Pr(T > t) = 0.5651

.  ttest Q17_d1 if (treat_generic==1 | treat_tv==1) & (age3==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164         2.5    .1324557    1.696261     2.23845     2.76155
       1 |     164    2.573171     .128313    1.643209    2.319801    2.826541
---------+--------------------------------------------------------------------
Combined |     328    2.536585    .0920884    1.667793    2.355425    2.717746
---------+--------------------------------------------------------------------
    diff |           -.0731707    .1844146               -.4359636    .2896222
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.3968
H0: diff = 0                                     Degrees of freedom =      326

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3459         Pr(|T| > |t|) = 0.6918          Pr(T > t) = 0.6541

.  ttest Q17_e1 if (treat_generic==1 | treat_tv==1) & (age3==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    5.414634    .1285581    1.646347     5.16078    5.668488
       1 |     164    5.756098    .1056258     1.35267    5.547526    5.964669
---------+--------------------------------------------------------------------
Combined |     328    5.585366    .0836001    1.514062    5.420904    5.749828
---------+--------------------------------------------------------------------
    diff |           -.3414634    .1663851               -.6687874   -.0141394
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -2.0522
H0: diff = 0                                     Degrees of freedom =      326

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0205         Pr(|T| > |t|) = 0.0409          Pr(T > t) = 0.9795

.  ttest Q17_f1 if (treat_generic==1 | treat_tv==1) & (age3==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     163    3.742331    .1501316    1.916752    3.445864    4.038799
       1 |     164    3.676829    .1431607    1.833351    3.394141    3.959518
---------+--------------------------------------------------------------------
Combined |     327     3.70948    .1035658    1.872796    3.505738    3.913222
---------+--------------------------------------------------------------------
    diff |             .065502    .2074192               -.3425518    .4735559
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.3158
H0: diff = 0                                     Degrees of freedom =      325

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.6238         Pr(|T| > |t|) = 0.7524          Pr(T > t) = 0.3762

.  ttest Q17_g1 if (treat_generic==1 | treat_tv==1) & (age3==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    4.237805    .1718788    2.201123    3.898409    4.577201
       1 |     163    4.705521    .1696356    2.165762    4.370539    5.040504
---------+--------------------------------------------------------------------
Combined |     327    4.470948      .12126    2.192761    4.232397    4.709499
---------+--------------------------------------------------------------------
    diff |           -.4677166    .2415044               -.9428257    .0073925
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.9367
H0: diff = 0                                     Degrees of freedom =      325

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0268         Pr(|T| > |t|) = 0.0537          Pr(T > t) = 0.9732

.  ttest Q17_h1 if (treat_generic==1 | treat_tv==1) & (age3==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    3.963415    .1647733    2.110128    3.638049     4.28878
       1 |     164    4.158537    .1594776     2.04231    3.843628    4.473445
---------+--------------------------------------------------------------------
Combined |     328    4.060976    .1146069     2.07562    3.835516    4.286436
---------+--------------------------------------------------------------------
    diff |            -.195122    .2293106               -.6462373    .2559934
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.8509
H0: diff = 0                                     Degrees of freedom =      326

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1977         Pr(|T| > |t|) = 0.3954          Pr(T > t) = 0.8023

.  ttest Q17_i1 if (treat_generic==1 | treat_tv==1) & (age3==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    5.207317    .1272635    1.629768    4.956019    5.458615
       1 |     164    5.402439    .1096563    1.404286    5.185909    5.618969
---------+--------------------------------------------------------------------
Combined |     328    5.304878    .0840396    1.522022    5.139552    5.470205
---------+--------------------------------------------------------------------
    diff |            -.195122    .1679896               -.5256024    .1353585
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.1615
H0: diff = 0                                     Degrees of freedom =      326

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1231         Pr(|T| > |t|) = 0.2463          Pr(T > t) = 0.8769

.  ttest Q17_j1 if (treat_generic==1 | treat_tv==1) & (age3==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.079268    .1104264    1.414147    5.861218    6.297319
       1 |     164    6.146341    .0990921    1.268997    5.950672    6.342011
---------+--------------------------------------------------------------------
Combined |     328    6.112805     .074094    1.341899    5.967044    6.258566
---------+--------------------------------------------------------------------
    diff |           -.0670732    .1483685               -.3589537    .2248074
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.4521
H0: diff = 0                                     Degrees of freedom =      326

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3258         Pr(|T| > |t|) = 0.6515          Pr(T > t) = 0.6742

.  ttest DVindex1 if (treat_generic==1 | treat_tv==1) & (age3==1), by(treat_generic) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     163    5.256442     .078981    1.008362    5.100477    5.412407
       1 |     163    5.378528    .0788645    1.006874    5.222793    5.534263
---------+--------------------------------------------------------------------
Combined |     326    5.317485    .0558237    1.007923    5.207663    5.427306
---------+--------------------------------------------------------------------
    diff |           -.1220859    .1116137               -.3416649    .0974931
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.0938
H0: diff = 0                                     Degrees of freedom =      324

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1374         Pr(|T| > |t|) = 0.2748          Pr(T > t) = 0.8626

. 
. 
. ***older people--online v. generic
.  ttest Q17_a1 if (treat_online==1 | treat_generic==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.109756    .1001317    1.282311    5.912034    6.307479
       1 |     155    5.845161    .1136447    1.414865    5.620658    6.069665
---------+--------------------------------------------------------------------
Combined |     319    5.981191    .0757374    1.352713    5.832181    6.130201
---------+--------------------------------------------------------------------
    diff |            .2645948    .1510447               -.0325819    .5617715
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.7518
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9596         Pr(|T| > |t|) = 0.0808          Pr(T > t) = 0.0404

.  ttest Q17_b1 if (treat_online==1 | treat_generic==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.243902    .0955864    1.224103    6.055155     6.43265
       1 |     155    5.954839    .1159077    1.443039    5.725864    6.183813
---------+--------------------------------------------------------------------
Combined |     319    6.103448     .075064    1.340687    5.955763    6.251133
---------+--------------------------------------------------------------------
    diff |            .2890637    .1495459               -.0051641    .5832916
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.9329
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9729         Pr(|T| > |t|) = 0.0541          Pr(T > t) = 0.0271

.  ttest Q17_c1 if (treat_online==1 | treat_generic==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    2.530488    .1281271    1.640828    2.277485    2.783491
       1 |     155    2.606452    .1292876    1.609617    2.351046    2.861858
---------+--------------------------------------------------------------------
Combined |     319    2.567398    .0909057    1.623628    2.388546    2.746251
---------+--------------------------------------------------------------------
    diff |           -.0759638    .1821205               -.4342814    .2823538
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.4171
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.3384         Pr(|T| > |t|) = 0.6769          Pr(T > t) = 0.6616

.  ttest Q17_d1 if (treat_online==1 | treat_generic==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    2.573171     .128313    1.643209    2.319801    2.826541
       1 |     155    2.593548    .1264039    1.573716    2.343839    2.843258
---------+--------------------------------------------------------------------
Combined |     319    2.583072    .0899928    1.607323    2.406016    2.760129
---------+--------------------------------------------------------------------
    diff |           -.0203777    .1803374               -.3751871    .3344318
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.1130
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.4551         Pr(|T| > |t|) = 0.9101          Pr(T > t) = 0.5449

.  ttest Q17_e1 if (treat_online==1 | treat_generic==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    5.756098    .1056258     1.35267    5.547526    5.964669
       1 |     155    5.625806    .1036204    1.290064    5.421106    5.830507
---------+--------------------------------------------------------------------
Combined |     319     5.69279    .0740264    1.322154    5.547147    5.838433
---------+--------------------------------------------------------------------
    diff |            .1302911    .1481647               -.1612193    .4218015
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.8794
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8101         Pr(|T| > |t|) = 0.3799          Pr(T > t) = 0.1899

.  ttest Q17_f1 if (treat_online==1 | treat_generic==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    3.676829    .1431607    1.833351    3.394141    3.959518
       1 |     155    3.967742    .1445619    1.799781    3.682162    4.253322
---------+--------------------------------------------------------------------
Combined |     319    3.818182    .1019058    1.820096    3.617687    4.018677
---------+--------------------------------------------------------------------
    diff |           -.2909127    .2035594               -.6914109    .1095856
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -1.4291
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0770         Pr(|T| > |t|) = 0.1540          Pr(T > t) = 0.9230

.  ttest Q17_g1 if (treat_online==1 | treat_generic==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     163    4.705521    .1696356    2.165762    4.370539    5.040504
       1 |     155     4.56129    .1751375    2.180444    4.215308    4.907272
---------+--------------------------------------------------------------------
Combined |     318     4.63522    .1217269    2.170701    4.395726    4.874715
---------+--------------------------------------------------------------------
    diff |            .1442311    .2437808               -.3354075    .6238698
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   0.5916
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.7227         Pr(|T| > |t|) = 0.5545          Pr(T > t) = 0.2773

.  ttest Q17_h1 if (treat_online==1 | treat_generic==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    4.158537    .1594776     2.04231    3.843628    4.473445
       1 |     155     4.16129    .1661521    2.068577    3.833059    4.489522
---------+--------------------------------------------------------------------
Combined |     319    4.159875    .1148832    2.051879    3.933847    4.385902
---------+--------------------------------------------------------------------
    diff |           -.0027537    .2302201               -.4557062    .4501987
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =  -0.0120
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.4952         Pr(|T| > |t|) = 0.9905          Pr(T > t) = 0.5048

.  ttest Q17_i1 if (treat_online==1 | treat_generic==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    5.402439    .1096563    1.404286    5.185909    5.618969
       1 |     155    5.167742    .1167997    1.454145    4.937005    5.398478
---------+--------------------------------------------------------------------
Combined |     319    5.288401    .0801378    1.431307    5.130734    5.446068
---------+--------------------------------------------------------------------
    diff |            .2346971    .1600502               -.0801977    .5495919
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.4664
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9282         Pr(|T| > |t|) = 0.1435          Pr(T > t) = 0.0718

.  ttest Q17_j1 if (treat_online==1 | treat_generic==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     164    6.146341    .0990921    1.268997    5.950672    6.342011
       1 |     155    5.729032    .1215421    1.513187    5.488927    5.969137
---------+--------------------------------------------------------------------
Combined |     319    5.943574    .0787428    1.406392    5.788651    6.098496
---------+--------------------------------------------------------------------
    diff |            .4173092    .1560462                 .110292    .7243264
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   2.6743
H0: diff = 0                                     Degrees of freedom =      317

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9961         Pr(|T| > |t|) = 0.0079          Pr(T > t) = 0.0039

.  ttest DVindex1 if (treat_online==1 | treat_generic==1) & (age3==1), by(treat_online) 

Two-sample t test with equal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. err.   Std. dev.   [95% conf. interval]
---------+--------------------------------------------------------------------
       0 |     163    5.378528    .0788645    1.006874    5.222793    5.534263
       1 |     155    5.187742    .0834596    1.039064    5.022868    5.352615
---------+--------------------------------------------------------------------
Combined |     318    5.285535    .0575089    1.025531    5.172387    5.398682
---------+--------------------------------------------------------------------
    diff |            .1907857    .1147353                -.034956    .4165273
------------------------------------------------------------------------------
    diff = mean(0) - mean(1)                                      t =   1.6628
H0: diff = 0                                     Degrees of freedom =      316

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9513         Pr(|T| > |t|) = 0.0973          Pr(T > t) = 0.0487

. 
. 
. ***take output from these models and put them into a new file called age-mode-figure-data.dta
. 
. clear

. 
. use age-mode-figure-data.dta

. 
. 
. ***Figure 5
. twoway (bar diff question1 if young==1, barw(.85))  || rcap hi low question1 if young==1, legend(off) xtitle("") ytitle("Difference between TV and Online") xlabe
> l(,angle(45)) xlabel(1 "Annoying" 2 "Misleading" 3 "Entertaining" 4 "Helpful" 5 "Too Negative" 6 "Vital" 7 "Regulate" 8 "Ban" 9 "Uncivil" 10 "Too Many" 11 "Index
> ") yline(0) title("Younger People") yscale(range(-1 1)) ylab(-1 -.5 0 .5 1)

. 
. ***Figure 6
. twoway (bar diff question1 if young==0, barw(.85))  || rcap hi low question1 if young==0, legend(off) xtitle("") ytitle("Difference between TV and Online") xlabe
> l(,angle(45)) xlabel(1 "Annoying" 2 "Misleading" 3 "Entertaining" 4 "Helpful" 5 "Too Negative" 6 "Vital" 7 "Regulate" 8 "Ban" 9 "Uncivil" 10 "Too Many" 11 "Index
> ") yline(0) title("Older People") yscale(range(-1 1)) ylab(-1 -.5 0 .5 1)

. 
. 
. ***Table 1
. 
. clear

. 
. use ad_experiment.dta

. 
. reg Q17_a1 tv_use_hi internet_use_hi age3 age2 treat_tv treat_generic

      Source |       SS           df       MS      Number of obs   =     1,199
-------------+----------------------------------   F(6, 1192)      =      7.25
       Model |  89.9901634         6  14.9983606   Prob > F        =    0.0000
    Residual |  2465.98148     1,192  2.06877641   R-squared       =    0.0352
-------------+----------------------------------   Adj R-squared   =    0.0304
       Total |  2555.97164     1,198  2.13353226   Root MSE        =    1.4383

---------------------------------------------------------------------------------
         Q17_a1 | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
----------------+----------------------------------------------------------------
      tv_use_hi |  -.3310648   .0867592    -3.82   0.000    -.5012826    -.160847
internet_use_hi |   .1881966   .0977568     1.93   0.054     -.003598    .3799912
           age3 |   .5271894   .0977893     5.39   0.000     .3353311    .7190477
           age2 |   .2729907   .1123321     2.43   0.015     .0526001    .4933813
       treat_tv |   .2367894   .1019133     2.32   0.020     .0368399     .436739
  treat_generic |   .1946836   .1018513     1.91   0.056    -.0051443    .3945115
          _cons |   5.419402   .1197962    45.24   0.000     5.184367    5.654437
---------------------------------------------------------------------------------

. reg Q17_b1 tv_use_hi internet_use_hi age3 age2 treat_tv treat_generic

      Source |       SS           df       MS      Number of obs   =     1,200
-------------+----------------------------------   F(6, 1193)      =     11.88
       Model |  127.118757         6  21.1864594   Prob > F        =    0.0000
    Residual |  2126.79791     1,193  1.78273086   R-squared       =    0.0564
-------------+----------------------------------   Adj R-squared   =    0.0517
       Total |  2253.91667     1,199  1.87983041   Root MSE        =    1.3352

---------------------------------------------------------------------------------
         Q17_b1 | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
----------------+----------------------------------------------------------------
      tv_use_hi |  -.3626223   .0805097    -4.50   0.000    -.5205787   -.2046658
internet_use_hi |   .2072866   .0907301     2.28   0.023     .0292782     .385295
           age3 |   .6624547   .0907734     7.30   0.000     .4843615    .8405479
           age2 |   .3985877   .1041325     3.83   0.000     .1942845    .6028908
       treat_tv |   .2113611   .0945504     2.24   0.026     .0258575    .3968647
  treat_generic |   .2288156   .0944831     2.42   0.016      .043444    .4141872
          _cons |   5.391274   .1111973    48.48   0.000      5.17311    5.609438
---------------------------------------------------------------------------------

. reg Q17_c1 tv_use_hi internet_use_hi age3 age2 treat_tv treat_generic

      Source |       SS           df       MS      Number of obs   =     1,200
-------------+----------------------------------   F(6, 1193)      =     15.23
       Model |  280.328487         6  46.7214146   Prob > F        =    0.0000
    Residual |  3660.39151     1,193  3.06822424   R-squared       =    0.0711
-------------+----------------------------------   Adj R-squared   =    0.0665
       Total |     3940.72     1,199  3.28667223   Root MSE        =    1.7516

---------------------------------------------------------------------------------
         Q17_c1 | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
----------------+----------------------------------------------------------------
      tv_use_hi |   .6602162   .1056207     6.25   0.000     .4529931    .8674392
internet_use_hi |  -.3504122   .1190289    -2.94   0.003    -.5839414    -.116883
           age3 |  -.9784871   .1190856    -8.22   0.000    -1.212128   -.7448467
           age2 |  -.6476593   .1366114    -4.74   0.000    -.9156845    -.379634
       treat_tv |  -.0847827   .1240407    -0.68   0.494    -.3281449    .1585794
  treat_generic |    .028205   .1239524     0.23   0.820    -.2149839    .2713939
          _cons |   3.413147   .1458797    23.40   0.000     3.126938    3.699356
---------------------------------------------------------------------------------

. reg Q17_d1 tv_use_hi internet_use_hi age3 age2 treat_tv treat_generic

      Source |       SS           df       MS      Number of obs   =     1,200
-------------+----------------------------------   F(6, 1193)      =     18.29
       Model |   318.13566         6    53.02261   Prob > F        =    0.0000
    Residual |  3459.35684     1,193  2.89971236   R-squared       =    0.0842
-------------+----------------------------------   Adj R-squared   =    0.0796
       Total |   3777.4925     1,199  3.15053586   Root MSE        =    1.7029

---------------------------------------------------------------------------------
         Q17_d1 | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
----------------+----------------------------------------------------------------
      tv_use_hi |   .7749186   .1026793     7.55   0.000     .5734665    .9763708
internet_use_hi |  -.4558972   .1157141    -3.94   0.000    -.6829229   -.2288714
           age3 |  -.9506686   .1157692    -8.21   0.000    -1.177803   -.7235347
           age2 |  -.5645323   .1328069    -4.25   0.000    -.8250934   -.3039711
       treat_tv |  -.1845729   .1205863    -1.53   0.126    -.4211578    .0520119
  treat_generic |  -.0679628   .1205005    -0.56   0.573    -.3043792    .1684537
          _cons |   3.471563   .1418171    24.48   0.000     3.193324    3.749802
---------------------------------------------------------------------------------

. reg Q17_e1 tv_use_hi internet_use_hi age3 age2 treat_tv treat_generic

      Source |       SS           df       MS      Number of obs   =     1,200
-------------+----------------------------------   F(6, 1193)      =     10.32
       Model |  131.615942         6  21.9359904   Prob > F        =    0.0000
    Residual |  2536.33072     1,193  2.12601067   R-squared       =    0.0493
-------------+----------------------------------   Adj R-squared   =    0.0446
       Total |  2667.94667     1,199  2.22514317   Root MSE        =    1.4581

---------------------------------------------------------------------------------
         Q17_e1 | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
----------------+----------------------------------------------------------------
      tv_use_hi |  -.2761297   .0879201    -3.14   0.002    -.4486249   -.1036344
internet_use_hi |   .1584341   .0990812     1.60   0.110    -.0359588     .352827
           age3 |   .7240359   .0991284     7.30   0.000     .5295504    .9185214
           age2 |   .5318156   .1137172     4.68   0.000     .3087077    .7549235
       treat_tv |   .0756624   .1032531     0.73   0.464    -.1269156    .2782403
  treat_generic |   .1701947   .1031796     1.65   0.099     -.032239    .3726285
          _cons |   4.836349   .1214322    39.83   0.000     4.598105    5.074594
---------------------------------------------------------------------------------

. reg Q17_f1 tv_use_hi internet_use_hi age3 age2 treat_tv treat_generic

      Source |       SS           df       MS      Number of obs   =     1,199
-------------+----------------------------------   F(6, 1192)      =      8.55
       Model |   161.65202         6  26.9420033   Prob > F        =    0.0000
    Residual |  3757.94431     1,192  3.15263784   R-squared       =    0.0412
-------------+----------------------------------   Adj R-squared   =    0.0364
       Total |  3919.59633     1,198  3.27178325   Root MSE        =    1.7756

---------------------------------------------------------------------------------
         Q17_f1 | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
----------------+----------------------------------------------------------------
      tv_use_hi |   .6243094   .1070911     5.83   0.000     .4142015    .8344174
internet_use_hi |  -.0625719   .1206737    -0.52   0.604    -.2993284    .1741845
           age3 |   -.599974   .1207557    -4.97   0.000    -.8368913   -.3630567
           age2 |  -.3779919   .1384779    -2.73   0.006    -.6496794   -.1063044
       treat_tv |  -.1679677   .1258069    -1.34   0.182    -.4147952    .0788599
  treat_generic |  -.2163451   .1256459    -1.72   0.085    -.4628569    .0301667
          _cons |   4.209958   .1479229    28.46   0.000     3.919739    4.500176
---------------------------------------------------------------------------------

. reg Q17_g1 tv_use_hi internet_use_hi age3 age2 treat_tv treat_generic

      Source |       SS           df       MS      Number of obs   =     1,199
-------------+----------------------------------   F(6, 1192)      =      3.52
       Model |  79.8086161         6   13.301436   Prob > F        =    0.0019
    Residual |   4509.4958     1,192  3.78313406   R-squared       =    0.0174
-------------+----------------------------------   Adj R-squared   =    0.0124
       Total |  4589.30442     1,198  3.83080503   Root MSE        =     1.945

---------------------------------------------------------------------------------
         Q17_g1 | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
----------------+----------------------------------------------------------------
      tv_use_hi |   .3002502   .1173217     2.56   0.011     .0700701    .5304303
internet_use_hi |   .1667323   .1321904     1.26   0.207    -.0926195     .426084
           age3 |  -.3963681   .1322746    -3.00   0.003    -.6558851   -.1368511
           age2 |   .0460162    .151695     0.30   0.762    -.2516026    .3436351
       treat_tv |  -.0328756   .1377359    -0.24   0.811    -.3031073    .2373562
  treat_generic |   .1816836   .1377213     1.32   0.187    -.0885196    .4518868
          _cons |   4.555536     .16204    28.11   0.000     4.237621    4.873451
---------------------------------------------------------------------------------

. reg Q17_h1 tv_use_hi internet_use_hi age3 age2 treat_tv treat_generic

      Source |       SS           df       MS      Number of obs   =     1,199
-------------+----------------------------------   F(6, 1192)      =      0.54
       Model |  11.9701336         6  1.99502227   Prob > F        =    0.7815
    Residual |  4439.92645     1,192  3.72477051   R-squared       =    0.0027
-------------+----------------------------------   Adj R-squared   =   -0.0023
       Total |  4451.89658     1,198  3.71610733   Root MSE        =      1.93

---------------------------------------------------------------------------------
         Q17_h1 | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
----------------+----------------------------------------------------------------
      tv_use_hi |     .00058   .1164149     0.00   0.996     -.227821     .228981
internet_use_hi |  -.0921894   .1311717    -0.70   0.482    -.3495425    .1651637
           age3 |  -.0818994   .1312153    -0.62   0.533     -.339338    .1755391
           age2 |   .0249597    .150729     0.17   0.869     -.270764    .3206833
       treat_tv |   .0734656    .136749     0.54   0.591    -.1948299    .3417611
  treat_generic |   .1993794   .1366658     1.46   0.145    -.0687528    .4675117
          _cons |    4.14775   .1607445    25.80   0.000     3.832377    4.463124
---------------------------------------------------------------------------------

. reg Q17_i1 tv_use_hi internet_use_hi age3 age2 treat_tv treat_generic

      Source |       SS           df       MS      Number of obs   =     1,200
-------------+----------------------------------   F(6, 1193)      =     10.25
       Model |  139.217589         6  23.2029315   Prob > F        =    0.0000
    Residual |  2700.66241     1,193  2.26375726   R-squared       =    0.0490
-------------+----------------------------------   Adj R-squared   =    0.0442
       Total |     2839.88     1,199  2.36854045   Root MSE        =    1.5046

---------------------------------------------------------------------------------
         Q17_i1 | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
----------------+----------------------------------------------------------------
      tv_use_hi |  -.3007238   .0907236    -3.31   0.001    -.4787195   -.1227282
internet_use_hi |   .1836119   .1022407     1.80   0.073    -.0169797    .3842034
           age3 |   .7067675   .1022894     6.91   0.000     .5060804    .9074545
           age2 |   .4750806   .1173433     4.05   0.000     .2448584    .7053027
       treat_tv |   .2342795   .1065456     2.20   0.028     .0252419    .4433171
  treat_generic |   .2799862   .1064698     2.63   0.009     .0710974     .488875
          _cons |    4.42118   .1253043    35.28   0.000     4.175338    4.667021
---------------------------------------------------------------------------------

. reg Q17_j1 tv_use_hi internet_use_hi age3 age2 treat_tv treat_generic

      Source |       SS           df       MS      Number of obs   =     1,200
-------------+----------------------------------   F(6, 1193)      =     12.76
       Model |  161.771532         6   26.961922   Prob > F        =    0.0000
    Residual |  2521.01513     1,193  2.11317279   R-squared       =    0.0603
-------------+----------------------------------   Adj R-squared   =    0.0556
       Total |  2682.78667     1,199  2.23752016   Root MSE        =    1.4537

---------------------------------------------------------------------------------
         Q17_j1 | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
----------------+----------------------------------------------------------------
      tv_use_hi |  -.2856867   .0876543    -3.26   0.001    -.4576604    -.113713
internet_use_hi |   .2813056   .0987816     2.85   0.004     .0875005    .4751107
           age3 |   .7153157   .0988287     7.24   0.000     .5214183    .9092131
           age2 |   .5709126   .1133733     5.04   0.000     .3484793    .7933458
       treat_tv |   .2614056   .1029409     2.54   0.011     .0594402    .4633709
  treat_generic |    .345836   .1028677     3.36   0.001     .1440143    .5476576
          _cons |   5.031638    .121065    41.56   0.000     4.794114    5.269162
---------------------------------------------------------------------------------

. reg DVindex1 tv_use_hi internet_use_hi age3 age2 treat_tv treat_generic

      Source |       SS           df       MS      Number of obs   =     1,197
-------------+----------------------------------   F(6, 1190)      =     15.72
       Model |  91.9186889         6  15.3197815   Prob > F        =    0.0000
    Residual |  1159.70944     1,190   .97454575   R-squared       =    0.0734
-------------+----------------------------------   Adj R-squared   =    0.0688
       Total |  1251.62813     1,196  1.04651182   Root MSE        =    .98719

---------------------------------------------------------------------------------
       DVindex1 | Coefficient  Std. err.      t    P>|t|     [95% conf. interval]
----------------+----------------------------------------------------------------
      tv_use_hi |  -.3319102   .0595825    -5.57   0.000    -.4488086   -.2150118
internet_use_hi |   .1994535   .0671156     2.97   0.003     .0677754    .3311315
           age3 |   .5416506   .0671624     8.06   0.000     .4098808    .6734205
           age2 |   .3965115   .0770993     5.14   0.000     .2452459    .5477772
       treat_tv |   .1478561   .0699879     2.11   0.035     .0105427    .2851696
  treat_generic |   .1834917    .069948     2.62   0.009     .0462565    .3207269
          _cons |   4.669685   .0822774    56.76   0.000      4.50826     4.83111
---------------------------------------------------------------------------------

. 
. ***Factor Analysis
. 
. clear

. use ad_experiment.dta

. 
. factor Q17_a1 Q17_b1 Q17_c1 Q17_d1 Q17_e1 Q17_f1 Q17_g1 Q17_h1 Q17_i1 Q17_j1
(obs=1,197)

Factor analysis/correlation                      Number of obs    =      1,197
    Method: principal factors                    Retained factors =          4
    Rotation: (unrotated)                        Number of params =         34

    --------------------------------------------------------------------------
         Factor  |   Eigenvalue   Difference        Proportion   Cumulative
    -------------+------------------------------------------------------------
        Factor1  |      3.30024      2.45885            0.8474       0.8474
        Factor2  |      0.84139      0.33962            0.2160       1.0634
        Factor3  |      0.50178      0.40568            0.1288       1.1922
        Factor4  |      0.09610      0.14128            0.0247       1.2169
        Factor5  |     -0.04518      0.02545           -0.0116       1.2053
        Factor6  |     -0.07063      0.05973           -0.0181       1.1872
        Factor7  |     -0.13036      0.02771           -0.0335       1.1537
        Factor8  |     -0.15807      0.03917           -0.0406       1.1131
        Factor9  |     -0.19724      0.04609           -0.0506       1.0625
       Factor10  |     -0.24333            .           -0.0625       1.0000
    --------------------------------------------------------------------------
    LR test: independent vs. saturated:  chi2(45) = 3760.47 Prob>chi2 = 0.0000

Factor loadings (pattern matrix) and unique variances

    ---------------------------------------------------------------------
        Variable |  Factor1   Factor2   Factor3   Factor4 |   Uniqueness 
    -------------+----------------------------------------+--------------
          Q17_a1 |   0.6752    0.0383    0.1681    0.1689 |      0.4859  
          Q17_b1 |   0.5955    0.1596    0.1865    0.0192 |      0.5847  
          Q17_c1 |  -0.5603    0.4428   -0.0108    0.0246 |      0.4893  
          Q17_d1 |  -0.6067    0.4953   -0.0413    0.0164 |      0.3846  
          Q17_e1 |   0.6070    0.2540    0.1562   -0.1423 |      0.5224  
          Q17_f1 |  -0.5166    0.3084    0.3260    0.0526 |      0.5290  
          Q17_g1 |   0.3605    0.3200   -0.3155    0.0266 |      0.6674  
          Q17_h1 |   0.4957    0.2015   -0.4245    0.0480 |      0.5311  
          Q17_i1 |   0.6135    0.2438    0.0853   -0.1613 |      0.5309  
          Q17_j1 |   0.6483    0.1049    0.1385    0.1194 |      0.5352  
    ---------------------------------------------------------------------

. 
. 
. 
. 
. 
. 
. 
. 
. 
end of do-file

. exit, clear
